diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-05-31 11:32:01 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-06-03 15:56:04 -0700 |
commit | 919a4ddb68413056ecb7c71d9d5465bb54c8032b (patch) | |
tree | 215eef38b062ef3e3d25fe0641725073d6360492 | |
parent | 594ab00b760f1722b800c45d37adc21eecf42dc1 (diff) | |
download | linux-919a4ddb68413056ecb7c71d9d5465bb54c8032b.tar.gz linux-919a4ddb68413056ecb7c71d9d5465bb54c8032b.tar.bz2 linux-919a4ddb68413056ecb7c71d9d5465bb54c8032b.zip |
xfs: fix radix tree tag signs
Radix tree tags are supposed to be unsigned ints, so fix the callers.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
-rw-r--r-- | fs/xfs/libxfs/xfs_sb.c | 2 | ||||
-rw-r--r-- | fs/xfs/libxfs/xfs_sb.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/libxfs/xfs_sb.c b/fs/xfs/libxfs/xfs_sb.c index dfbbcbd448c1..300d0a1a8049 100644 --- a/fs/xfs/libxfs/xfs_sb.c +++ b/fs/xfs/libxfs/xfs_sb.c @@ -61,7 +61,7 @@ struct xfs_perag * xfs_perag_get_tag( struct xfs_mount *mp, xfs_agnumber_t first, - int tag) + unsigned int tag) { struct xfs_perag *pag; int found; diff --git a/fs/xfs/libxfs/xfs_sb.h b/fs/xfs/libxfs/xfs_sb.h index f79f9dc632b6..e5f1c2d879eb 100644 --- a/fs/xfs/libxfs/xfs_sb.h +++ b/fs/xfs/libxfs/xfs_sb.h @@ -17,8 +17,8 @@ struct xfs_perag; * perag get/put wrappers for ref counting */ extern struct xfs_perag *xfs_perag_get(struct xfs_mount *, xfs_agnumber_t); -extern struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *, xfs_agnumber_t, - int tag); +struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *mp, xfs_agnumber_t agno, + unsigned int tag); extern void xfs_perag_put(struct xfs_perag *pag); extern int xfs_initialize_perag_data(struct xfs_mount *, xfs_agnumber_t); |