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