aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.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_bmap.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_bmap.c')
-rw-r--r--fs/xfs/xfs_bmap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 1f09fafa07fa..a9331a6b36fb 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -4258,12 +4258,9 @@ __xfs_bmapi_allocate(
4258 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); 4258 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork);
4259 int tmp_logflags = 0; 4259 int tmp_logflags = 0;
4260 int error; 4260 int error;
4261 int rt;
4262 4261
4263 ASSERT(bma->length > 0); 4262 ASSERT(bma->length > 0);
4264 4263
4265 rt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(bma->ip);
4266
4267 /* 4264 /*
4268 * For the wasdelay case, we could also just allocate the stuff asked 4265 * For the wasdelay case, we could also just allocate the stuff asked
4269 * for in this bmap call but that wouldn't be as good. 4266 * for in this bmap call but that wouldn't be as good.