Re: [PATCH 16/21] e2fsck: do a better job of fixing i_size of inline directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 04, 2014 at 06:06:42PM -0700, Darrick J. Wong wrote:
> If we encounter a directory whose i_size != the inline data size, just
> set i_size to the size of the inline data.  The pb.last_block
> calculation is wrong since pb.last_block == -1, which results in
> i_size being set to zero, which corrupts the directory.
> 
> Clear the inline_data inode flag if we actually /are/ setting i_size
> to zero.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

Applied, thanks.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux