xfs: keep sb_bad_features2 the same a sb_features2
authorDave Chinner <dchinner@redhat.com>
Mon, 19 May 2014 21:41:43 +0000 (07:41 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 19 May 2014 21:41:43 +0000 (07:41 +1000)
Whenever we update sb_features2, we need to update sb_bad_features2
so that they remain identical on disk. This prevents future mounts
or userspace utilities from getting confused over which features the
filesystem supports.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_sb.h

diff --cc fs/xfs/xfs_sb.h
Simple merge