diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:35:19 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:35:19 +0300 |
commit | 11388f6581f40e7d5a69ce5f8b13264eca7c2c5c (patch) | |
tree | fff9a5dfe40b2434c1d6001804e5f9e5bf38b9f2 /fs/xfs/libxfs/xfs_btree.h | |
parent | 7771f7030007e3faa6906864d01b504b590e1ca2 (diff) | |
download | linux-11388f6581f40e7d5a69ce5f8b13264eca7c2c5c.tar.xz |
xfs: remove the unnecessary daddr paramter to _init_block
Now that all of the callers pass XFS_BUF_DADDR_NULL as the daddr
parameter, we can elide that too.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_btree.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_btree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_btree.h b/fs/xfs/libxfs/xfs_btree.h index 56901d2591ed..80be40ca8954 100644 --- a/fs/xfs/libxfs/xfs_btree.h +++ b/fs/xfs/libxfs/xfs_btree.h @@ -440,7 +440,7 @@ void xfs_btree_init_buf(struct xfs_mount *mp, struct xfs_buf *bp, __u64 owner); void xfs_btree_init_block(struct xfs_mount *mp, struct xfs_btree_block *buf, const struct xfs_btree_ops *ops, - xfs_daddr_t blkno, __u16 level, __u16 numrecs, __u64 owner); + __u16 level, __u16 numrecs, __u64 owner); /* * Common btree core entry points. |