]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: standardize the btree maxrecs function parameters
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:43:42 +0000 (12:43 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:40 +0000 (13:44 -0700)
commit6a8e34ffcd80dd44a69fbfff033eb83f094c8692
tree0191368f894509a6299f3f821e5a89077a8c7ef5
parentfc21f5a0d464ff7676a85b8383ac1cae55d4daf0
xfs: standardize the btree maxrecs function parameters

Source kernel commit: 411a71256de6f5a0015a28929cfbe6bc36c503dc

Standardize the parameters in xfs_{alloc,bm,ino,rmap,refcount}bt_maxrecs
so that we have consistent calling conventions.  This doesn't affect the
kernel that much, but enables us to clean up userspace a bit.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
16 files changed:
db/btheight.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_alloc_btree.h
libxfs/xfs_bmap.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_bmap_btree.h
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc_btree.c
libxfs/xfs_ialloc_btree.h
libxfs/xfs_inode_fork.c
libxfs/xfs_refcount_btree.c
libxfs/xfs_refcount_btree.h
libxfs/xfs_rmap_btree.c
libxfs/xfs_rmap_btree.h
libxfs/xfs_sb.c
repair/phase5.c