Skip to content
Commit 1037a5af authored by Wang Sheng-Hui's avatar Wang Sheng-Hui Committed by Chris Mason
Browse files

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: default avatarWang Sheng-Hui <shhuiw@gmail.com>
parent f60b1b49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment