]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfs: move inode fork verifiers to xfs_dinode_verify
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:51:04 +0000 (10:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:54:46 +0000 (10:54 -0800)
commit71493b839e294065ba63bd6f8d07263f3afee8c6
treeec5f47fc7235ef6410b64a0d5da43c2346f991cd
parent50aa90ef03007beca2c9108993f5b4f2bb4f0a66
xfs: move inode fork verifiers to xfs_dinode_verify

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>
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/libxfs/xfs_inode_fork.c