]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xfs: don't emit v5 superblock warnings on write
authorDave Chinner <dchinner@redhat.com>
Mon, 27 May 2013 06:38:19 +0000 (16:38 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 30 May 2013 17:24:19 +0000 (12:24 -0500)
commit34510185abeaa5be9b178a41c0a03d30aec3db7e
treeb75e7083ab055c184d4a1ac53db76c2d24d03dd9
parentad1858d77771172e08016890f0eb2faedec3ecee
xfs: don't emit v5 superblock warnings on write

We write the superblock every 30s or so which results in the
verifier being called. Right now that results in this output
every 30s:

XFS (vda): Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled!
Use of these features in this kernel is at your own risk!

And spamming the logs.

We don't need to check for whether we support v5 superblocks or
whether there are feature bits we don't support set as these are
only relevant when we first mount the filesytem. i.e. on superblock
read. Hence for the write verification we can just skip all the
checks (and hence verbose output) altogether.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_mount.c