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>
This commit is contained in:
@@ -399,7 +399,7 @@ xfs_da3_split(
|
||||
struct xfs_da_intnode *node;
|
||||
struct xfs_buf *bp;
|
||||
int max;
|
||||
int action;
|
||||
int action = 0;
|
||||
int error;
|
||||
int i;
|
||||
|
||||
@@ -2454,9 +2454,9 @@ static int
|
||||
xfs_buf_map_from_irec(
|
||||
struct xfs_mount *mp,
|
||||
struct xfs_buf_map **mapp,
|
||||
unsigned int *nmaps,
|
||||
int *nmaps,
|
||||
struct xfs_bmbt_irec *irecs,
|
||||
unsigned int nirecs)
|
||||
int nirecs)
|
||||
{
|
||||
struct xfs_buf_map *map;
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user