]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5785995ad3a7d399745acc0dba981b81efd12cb9
treedc18b1b8f176faae02e3822d937f58d8c5c8f1e5
parent0ab2c39f9cb359d9e8173c038b4927351f8a9671
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