diff options
author | Dave Chinner <david@fromorbit.com> | 2013-09-02 20:49:36 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-09-09 17:43:05 -0500 |
commit | a30b0367978f75a2659c71b33739e5e445a363c8 (patch) | |
tree | f5d50ce20e9d81095a701d53712b892c6883eb58 /fs/xfs/xfs_bmap.c | |
parent | e9fbbad8d8b2cbd6df7f237e0b4de02d63837ce1 (diff) |
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_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index 92b830901d6..f47e65c30be 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c @@ -4450,7 +4450,7 @@ xfs_bmapi_write( { struct xfs_mount *mp = ip->i_mount; struct xfs_ifork *ifp; - struct xfs_bmalloca bma = { 0 }; /* args for xfs_bmap_alloc */ + struct xfs_bmalloca bma = { NULL }; /* args for xfs_bmap_alloc */ xfs_fileoff_t end; /* end of mapped file region */ int eof; /* after the end of extents */ int error; /* error return */ |