]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: factor out a xfs_dir_lookup_args helper
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Jul 2024 23:22:52 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:04 +0000 (17:01 -0700)
commit7ae5bcb231fde4a039cc5f008bd63593813799bc
tree85aac794f9da128cf6e416c1bf9ab0e1cde2fc71
parentda229a1f3fe1da5f66e840646843aeb4b7717dab
xfs: factor out a xfs_dir_lookup_args helper

Source kernel commit: 14ee22fef420c864c0869419e54aa4e88f64b4e6

Add a helper to switch between the different directory formats for
lookup and to handle the -EEXIST return for a successful lookup.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
libxfs/xfs_dir2.c
libxfs/xfs_dir2.h