]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: devirtualize ->db_to_fdb and ->db_to_fdindex
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)
commit63c36cc9c5339fff7c8bf0e4ddcf8a7c28c48e8d
tree5947c6e84a49e0ca293db203640b73389310419d
parentae3cd5b17c71b39b8f97ab8568264a4c43fe5a9d
xfs: devirtualize ->db_to_fdb and ->db_to_fdindex

Source kernel commit: 3d92c93b7065be28eda33f92681d2f1121fbf8bf

Now that the max bests value is in struct xfs_da_geometry both instances
of ->db_to_fdb and ->db_to_fdindex are identical.  Replace them with
local xfs_dir2_db_to_fdb and xfs_dir2_db_to_fdindex functions in
xfs_dir2_node.c.

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>
libxfs/xfs_da_format.c
libxfs/xfs_dir2.h
libxfs/xfs_dir2_node.c