summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_itable.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2013-09-02 20:49:36 +1000
committerBen Myers <bpm@sgi.com>2013-09-09 17:43:05 -0500
commita30b0367978f75a2659c71b33739e5e445a363c8 (patch)
treef5d50ce20e9d81095a701d53712b892c6883eb58 /fs/xfs/xfs_itable.c
parente9fbbad8d8b2cbd6df7f237e0b4de02d63837ce1 (diff)
downloadop-kernel-dev-a30b0367978f75a2659c71b33739e5e445a363c8.zip
op-kernel-dev-a30b0367978f75a2659c71b33739e5e445a363c8.tar.gz
xfs: fix some minor sparse warnings
A couple of simple locking annotations and 0 vs NULL warnings. Nothing that changes any code behaviour, just removes build noise. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-rw-r--r--fs/xfs/xfs_itable.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c
index b93e14b..8a67d53 100644
--- a/fs/xfs/xfs_itable.c
+++ b/fs/xfs/xfs_itable.c
@@ -541,8 +541,9 @@ xfs_bulkstat_single(
* at the expense of the error case.
*/
- ino = (xfs_ino_t)*lastinop;
- error = xfs_bulkstat_one(mp, ino, buffer, sizeof(xfs_bstat_t), 0, &res);
+ ino = *lastinop;
+ error = xfs_bulkstat_one(mp, ino, buffer, sizeof(xfs_bstat_t),
+ NULL, &res);
if (error) {
/*
* Special case way failed, do it the "long" way
OpenPOWER on IntegriCloud