Re: [PATCH 30/47] resize2fs: don't play stupid games with the block count

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

 



On Fri, Nov 07, 2014 at 01:54:01PM -0800, Darrick J. Wong wrote:
> While it may be true that playing games with old_fs' block count
> during a grow operation shuts up a bunch of warnings, resize2fs
> doesn't actually expand the group descriptor array to match the size
> we're artificially stuffing into old_fs, which means that if we
> actually need to allocate a block out of the larger fs (i.e. we're in
> desperation mode), ext2fs_block_alloc_stats2() scribbles on the heap,
> leading to crashes if you're lucky and FS corruption if not.
> 
> So, rip that piece out and turn off com_err warnings properly and add
> a test case to deal with growing a nearly full filesystem.
> 
> 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