Commit 1037a5affc266fdfe08b2dd415d309ab2778ce6a
Committed by
Chris Mason
1 parent
f60b1b49f6
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
Btrfs: remove repeated eb->pages check in, disk-io.c/csum_dirty_buffer
In csum_dirty_buffer, we first get eb from page->private. Then we check if the page is the first page of eb. Later we check it again. Remove the repeated check here. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff