commit | 1037a5affc266fdfe08b2dd415d309ab2778ce6a | [log] [tgz] |
---|---|---|
author | Wang Sheng-Hui <shhuiw@gmail.com> | Mon Oct 08 07:26:15 2012 -0600 |
committer | Chris Mason <chris.mason@fusionio.com> | Tue Oct 09 09:37:30 2012 -0400 |
tree | a43eb06a467311e36d84ba36fe53ec2fac31d511 | |
parent | f60b1b49f6f72abb8bedfd49b758773bbda043c8 [diff] |
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>