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>
This commit is contained in:
@@ -61,7 +61,7 @@ struct xfs_perag *
|
|||||||
xfs_perag_get_tag(
|
xfs_perag_get_tag(
|
||||||
struct xfs_mount *mp,
|
struct xfs_mount *mp,
|
||||||
xfs_agnumber_t first,
|
xfs_agnumber_t first,
|
||||||
int tag)
|
unsigned int tag)
|
||||||
{
|
{
|
||||||
struct xfs_perag *pag;
|
struct xfs_perag *pag;
|
||||||
int found;
|
int found;
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ struct xfs_perag;
|
|||||||
* perag get/put wrappers for ref counting
|
* 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(struct xfs_mount *, xfs_agnumber_t);
|
||||||
extern struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *, xfs_agnumber_t,
|
struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *mp, xfs_agnumber_t agno,
|
||||||
int tag);
|
unsigned int tag);
|
||||||
extern void xfs_perag_put(struct xfs_perag *pag);
|
extern void xfs_perag_put(struct xfs_perag *pag);
|
||||||
extern int xfs_initialize_perag_data(struct xfs_mount *, xfs_agnumber_t);
|
extern int xfs_initialize_perag_data(struct xfs_mount *, xfs_agnumber_t);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user