Btrfs: remove repeated eb->pages check in, disk-io.c/csum_dirty_buffer
authorWang Sheng-Hui <shhuiw@gmail.com>
Mon, 8 Oct 2012 13:26:15 +0000 (07:26 -0600)
committerChris Mason <chris.mason@fusionio.com>
Tue, 9 Oct 2012 13:37:30 +0000 (09:37 -0400)
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>

No differences found