]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: move inode fork verifiers to xfs_dinode_verify
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Feb 2018 04:43:17 +0000 (22:43 -0600)
committerEric Sandeen <sandeen@redhat.com>
Tue, 27 Feb 2018 04:43:17 +0000 (22:43 -0600)
commitad42e5a1985ebf855d5497b07584e2d5557fb349
tree3ea90b3fb5f93f0a5e565b4a40e92a3f458b5b7a
parent98703400d0a4c4c56874705ab692b14398068650
xfs: move inode fork verifiers to xfs_dinode_verify

Source kernel commit: 71493b839e294065ba63bd6f8d07263f3afee8c6

Consolidate the fork size and format verifiers to xfs_dinode_verify so
that we can reject bad inodes earlier and in a single place.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_fork.c