diff options
author | Christoph Hellwig <hch@lst.de> | 2017-11-06 20:53:58 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-11-06 20:53:58 +0100 |
commit | 88aa5de46ba4eecbed2cea7e74fa8ef7bea12c87 (patch) | |
tree | 945b95383c4445d2c2577189dd9099f4f00c5a4f /fs/xfs/scrub/btree.c | |
parent | xfs: always define STATIC to static noinline (diff) | |
download | linux-88aa5de46ba4eecbed2cea7e74fa8ef7bea12c87.tar.xz linux-88aa5de46ba4eecbed2cea7e74fa8ef7bea12c87.zip |
xfs: trivial sparse fixes for the new scrub code
[darrick: fix broken initializer in xfs_scrub_xattr]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/scrub/btree.c')
-rw-r--r-- | fs/xfs/scrub/btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/btree.c b/fs/xfs/scrub/btree.c index 9e8b67a07baf..a81440496e7b 100644 --- a/fs/xfs/scrub/btree.c +++ b/fs/xfs/scrub/btree.c @@ -414,7 +414,7 @@ xfs_scrub_btree( struct xfs_owner_info *oinfo, void *private) { - struct xfs_scrub_btree bs = {0}; + struct xfs_scrub_btree bs = { NULL }; union xfs_btree_ptr ptr; union xfs_btree_ptr *pp; union xfs_btree_rec *recp; |