OSDN Git Service

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)
commit32bf1deae15b67839a2f0cb233254125be73fc78
tree9d98b04f02e5f42e4e8861de7107e6089732a227
parentf68a373525d26d1cd7920f9d5dbf0d3aa1b9b889
xfs: keep sb_bad_features2 the same a sb_features2

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