]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: move inode extent size hint validation to libxfs
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 18 Apr 2018 19:46:07 +0000 (14:46 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 18 Apr 2018 19:46:07 +0000 (14:46 -0500)
commitfd0c360d19c8c1e7235e3d3aa09b600553ddf6a1
treeac98ec86e1ac3c5c11a7e7134e14f410f269f132
parent43f7ceb50b3024bba6edcd951ec9e14575e71c30
xfs: move inode extent size hint validation to libxfs

Source kernel commit: 8bb82bc12a9e75dd47047d9a2e53135cc5e5787b

Extent size hint validation is used by scrub to decide if there's an
error, and it will be used by repair to decide to remove the hint.
Since these use the same validation functions, move them to libxfs.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_buf.h