]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_fs.h
xfs: scrub directory parent pointers
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
commit9d9d4f087066517a491dec081f46e8966b7d9d87
treea8f13922aec870a2e03292926f9a591363094c25
parent3db552cf3f1107f9bf7a50141573f18e5fb3b292
xfs: scrub directory parent pointers

Source kernel commit: 0f28b25731f76feda1ec71671754a2b7179ee1ef

Scrub parent pointers, sort of.  For directories, we can ride the
'..' entry up to the parent to confirm that there's at most one
dentry that points back to this directory.

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_fs.h