diff options
Diffstat (limited to 'fs/ext4/move_extent.c')
-rw-r--r-- | fs/ext4/move_extent.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c index 773b503bd18c..58ee7dc87669 100644 --- a/fs/ext4/move_extent.c +++ b/fs/ext4/move_extent.c | |||
@@ -76,7 +76,7 @@ copy_extent_status(struct ext4_extent *src, struct ext4_extent *dest) | |||
76 | * ext4_ext_path structure refers to the last extent, or a negative error | 76 | * ext4_ext_path structure refers to the last extent, or a negative error |
77 | * value on failure. | 77 | * value on failure. |
78 | */ | 78 | */ |
79 | static int | 79 | int |
80 | mext_next_extent(struct inode *inode, struct ext4_ext_path *path, | 80 | mext_next_extent(struct inode *inode, struct ext4_ext_path *path, |
81 | struct ext4_extent **extent) | 81 | struct ext4_extent **extent) |
82 | { | 82 | { |
@@ -861,8 +861,7 @@ mext_page_mkuptodate(struct page *page, unsigned from, unsigned to) | |||
861 | } | 861 | } |
862 | if (!buffer_mapped(bh)) { | 862 | if (!buffer_mapped(bh)) { |
863 | zero_user(page, block_start, blocksize); | 863 | zero_user(page, block_start, blocksize); |
864 | if (!err) | 864 | set_buffer_uptodate(bh); |
865 | set_buffer_uptodate(bh); | ||
866 | continue; | 865 | continue; |
867 | } | 866 | } |
868 | } | 867 | } |