From 88aa5de46ba4eecbed2cea7e74fa8ef7bea12c87 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 6 Nov 2017 11:53:58 -0800 Subject: xfs: trivial sparse fixes for the new scrub code [darrick: fix broken initializer in xfs_scrub_xattr] Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- fs/xfs/scrub/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/xfs/scrub/dir.c') diff --git a/fs/xfs/scrub/dir.c b/fs/xfs/scrub/dir.c index 73ac795aa6a5..d4cd7661633d 100644 --- a/fs/xfs/scrub/dir.c +++ b/fs/xfs/scrub/dir.c @@ -560,7 +560,7 @@ xfs_scrub_directory_free_bestfree( struct xfs_buf *dbp; struct xfs_buf *bp; __be16 *bestp; - __be16 best; + __u16 best; unsigned int stale = 0; int i; int error; -- cgit