Re: [PATCH] ext4: Make sanity check in mballoc more strict

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

 



On Thu, Mar 28, 2019 at 05:41:17PM +0100, Jan Kara wrote:
> Sanity check in mb_find_extent() only checked that returned extent does
> not extend past blocksize * 8, however it should not extend past
> EXT4_CLUSTERS_PER_GROUP(sb). This can happen when clusters_per_group <
> blocksize * 8 and the tail of the bitmap is not properly filled by 1s
> which happened e.g. when ancient kernels have grown the filesystem.
> 
> Signed-off-by: Jan Kara <jack@xxxxxxx>

Thanks, applied.

					- Ted



[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