[PATCH] xfsprogs: write both features2 fields when xfs_admin changes lazy_count

Dave Chinner david at fromorbit.com
Wed Apr 28 21:28:25 CDT 2010


On Wed, Apr 28, 2010 at 09:07:52PM -0500, Eric Sandeen wrote:
> xfs_admin -c invokes repair directly to change lazy_count,
> but it doesn't write both features2 fields, so this:
> 
> # mkfs.xfs -dfile,name=fsfile,size=10g -llazy-count=0
> # xfs_admin -c 1 fsfile
> # xfs_repair fsfile
> 
> yields errors.
> 
> Reported-by: Marcin Mirosław <marcin at mejor.pl>
> Signed-off-by: Eric Sandeen <sandeen at sandeen.net>

Reviewed-by: Dave Chinner <david at fromorbit.com>

-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list