aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/dir.c
diff options
context:
space:
mode:
authorChristoph Hellwig2017-11-06 11:53:58 -0800
committerDarrick J. Wong2017-11-06 11:53:58 -0800
commit88aa5de46ba4eecbed2cea7e74fa8ef7bea12c87 (patch)
tree945b95383c4445d2c2577189dd9099f4f00c5a4f /fs/xfs/scrub/dir.c
parentfc41e2a1931041b04e0f3230effd1c7a9364c8fc (diff)
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/dir.c')
-rw-r--r--fs/xfs/scrub/dir.c2
1 files changed, 1 insertions, 1 deletions
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;