xfs: refactor superblock verifiers
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 29 Jul 2018 20:10:44 +0000 (13:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 31 Jul 2018 20:18:09 +0000 (13:18 -0700)
commiteca383fcd63b452cf533505154135da2a1f70227
treedc18b1b8f176faae02e3822d937f58d8c5c8f1e5
parent86d969b425d7ecf774799b70142b957dc267575b
xfs: refactor superblock verifiers

Split the superblock verifier into the common checks, the read-time
checks, and the write-time check functions.  No functional changes, but
we're setting up to add more write-only checks.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
fs/xfs/libxfs/xfs_sb.c