aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_ialloc.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 06:49:44 -0400
committerBen Myers <bpm@sgi.com>2013-08-12 17:52:54 -0400
commit836a94ad59bf6c1bcea0fdbe945540926fa3ca8b (patch)
treebd07140aeec5f0e62b44ae20ecbf62914b42b038 /fs/xfs/xfs_ialloc.c
parentc5c249b42464cbcda3ac5cbdc114f6a6d5b0b7ac (diff)
xfs: fix issues that cause userspace warnings
Some of the code shared with userspace causes compilation warnings from things turned off in the kernel code, such as differences in variable signedness. Fix those issues. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_ialloc.c')
-rw-r--r--fs/xfs/xfs_ialloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ialloc.c b/fs/xfs/xfs_ialloc.c
index bd4e2a7b0928..266024b3668c 100644
--- a/fs/xfs/xfs_ialloc.c
+++ b/fs/xfs/xfs_ialloc.c
@@ -1342,7 +1342,7 @@ xfs_imap(
1342 xfs_agblock_t cluster_agbno; /* first block in inode cluster */ 1342 xfs_agblock_t cluster_agbno; /* first block in inode cluster */
1343 int error; /* error code */ 1343 int error; /* error code */
1344 int offset; /* index of inode in its buffer */ 1344 int offset; /* index of inode in its buffer */
1345 int offset_agbno; /* blks from chunk start to inode */ 1345 xfs_agblock_t offset_agbno; /* blks from chunk start to inode */
1346 1346
1347 ASSERT(ino != NULLFSINO); 1347 ASSERT(ino != NULLFSINO);
1348 1348