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>
This commit is contained in:
Christoph Hellwig
2017-11-06 11:53:58 -08:00
committed by Darrick J. Wong
parent fc41e2a193
commit 88aa5de46b
5 changed files with 6 additions and 6 deletions

View File

@@ -229,7 +229,7 @@ xfs_scrub_bmap(
int whichfork)
{
struct xfs_bmbt_irec irec;
struct xfs_scrub_bmap_info info = {0};
struct xfs_scrub_bmap_info info = { NULL };
struct xfs_mount *mp = sc->mp;
struct xfs_inode *ip = sc->ip;
struct xfs_ifork *ifp;