Message ID | 1458680557-23221-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c index 66c1449..78c76e0 100644 --- a/fs/ext4/move_extent.c +++ b/fs/ext4/move_extent.c @@ -1037,6 +1037,7 @@ data_copy: *err = ext4_get_block(orig_inode, orig_blk_offset + i, bh, 0); if (*err < 0) break; + bh = bh->b_this_page; } if (!*err) *err = block_commit_write(pagep[0], from, from + replaced_size);