diff options
author | Dave Chinner <david@fromorbit.com> | 2013-09-02 12:49:36 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-09-10 00:43:05 +0200 |
commit | a30b0367978f75a2659c71b33739e5e445a363c8 (patch) | |
tree | f5d50ce20e9d81095a701d53712b892c6883eb58 /fs/xfs/xfs_itable.c | |
parent | xfs: fix endian warning in xlog_recover_get_buf_lsn() (diff) | |
download | linux-a30b0367978f75a2659c71b33739e5e445a363c8.tar.xz linux-a30b0367978f75a2659c71b33739e5e445a363c8.zip |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index b93e14b86754..8a67d53b9b7a 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 |