]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - repair/phase6.c
xfs: devirtualize ->sf_get_parent_ino and ->sf_put_parent_ino
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jan 2020 16:29:42 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:42 +0000 (11:29 -0500)
commit8a7190bd67111f39c884a8840da697eb3fc08d58
tree3f030f7d2e2037efb869800c8655a555f8ee4166
parent63c36cc9c5339fff7c8bf0e4ddcf8a7c28c48e8d
xfs: devirtualize ->sf_get_parent_ino and ->sf_put_parent_ino

Source kernel commit: 84915e1bdddf9de3edf79a2813982b886e76658f

The parent inode handling is the same for all directory format variants,
just use direct calls instead of going through a pointless indirect
call.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/check.c
libxfs/libxfs_api_defs.h
libxfs/xfs_da_format.c
libxfs/xfs_dir2.h
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_priv.h
libxfs/xfs_dir2_sf.c
repair/dir2.c
repair/phase6.c