mbox series

[v2,0/2] ext4: fix unsafe extent initialization

Message ID 1545141822-3082-1-git-send-email-yi.zhang@huawei.com
Headers show
Series ext4: fix unsafe extent initialization | expand

Message

Zhang Yi Dec. 18, 2018, 2:03 p.m. UTC
Hi, Ted and Andreas

These two patches are the second version of the PATCH "ext4: fix unsafe
extent initialization". Instead of split extent in the first iteration,
it update the i_disksize if the zeroout region exceeds current
i_disksize, please review.

Thanks,
Yi.

-------
Changes since v1:
 - Add a patch to correct inode->i_size reading when converting
   initialized extent.
 - Instead of split extent, update i_disksize if necessary.

zhangyi (F) (2):
  ext4: use i_size_read() when converting initialized extent
  ext4: fix unsafe extent initialization

 fs/ext4/extents.c | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)