]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: refactor short form directory structure verifier function
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)
commit1f98251ffd56f2d78fff582568e984dec952d89c
tree80a2f611826575a01725767655487ef29c88d620
parent6db3a8007a2493d6887cf45a5edfaa6a770b8492
xfs: refactor short form directory structure verifier function

Source kernel commit: dc042c2d8ff629dd411e9a60bce9c379e2f8aaf8

Change the short form directory structure verifier function to return
the instruction pointer of a failing check or NULL if everything's ok.

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_dir2_priv.h
libxfs/xfs_dir2_sf.c
libxfs/xfs_inode_fork.c