diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-12 06:49:44 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-12 17:52:54 -0400 |
commit | 836a94ad59bf6c1bcea0fdbe945540926fa3ca8b (patch) | |
tree | bd07140aeec5f0e62b44ae20ecbf62914b42b038 /fs/xfs/xfs_da_btree.c | |
parent | c5c249b42464cbcda3ac5cbdc114f6a6d5b0b7ac (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_da_btree.c')
-rw-r--r-- | fs/xfs/xfs_da_btree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c index 8bbd7ef66ea8..d4e59a4ff59f 100644 --- a/fs/xfs/xfs_da_btree.c +++ b/fs/xfs/xfs_da_btree.c | |||
@@ -399,7 +399,7 @@ xfs_da3_split( | |||
399 | struct xfs_da_intnode *node; | 399 | struct xfs_da_intnode *node; |
400 | struct xfs_buf *bp; | 400 | struct xfs_buf *bp; |
401 | int max; | 401 | int max; |
402 | int action; | 402 | int action = 0; |
403 | int error; | 403 | int error; |
404 | int i; | 404 | int i; |
405 | 405 | ||
@@ -2454,9 +2454,9 @@ static int | |||
2454 | xfs_buf_map_from_irec( | 2454 | xfs_buf_map_from_irec( |
2455 | struct xfs_mount *mp, | 2455 | struct xfs_mount *mp, |
2456 | struct xfs_buf_map **mapp, | 2456 | struct xfs_buf_map **mapp, |
2457 | unsigned int *nmaps, | 2457 | int *nmaps, |
2458 | struct xfs_bmbt_irec *irecs, | 2458 | struct xfs_bmbt_irec *irecs, |
2459 | unsigned int nirecs) | 2459 | int nirecs) |
2460 | { | 2460 | { |
2461 | struct xfs_buf_map *map; | 2461 | struct xfs_buf_map *map; |
2462 | int i; | 2462 | int i; |