summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/scrub.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-06 22:53:58 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2017-11-06 22:53:58 +0300
commit88aa5de46ba4eecbed2cea7e74fa8ef7bea12c87 (patch)
tree945b95383c4445d2c2577189dd9099f4f00c5a4f /fs/xfs/scrub/scrub.c
parentfc41e2a1931041b04e0f3230effd1c7a9364c8fc (diff)
downloadlinux-88aa5de46ba4eecbed2cea7e74fa8ef7bea12c87.tar.xz
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/scrub.c')
-rw-r--r--fs/xfs/scrub/scrub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c
index 8c8b52523fbc..9c42c4efd01e 100644
--- a/fs/xfs/scrub/scrub.c
+++ b/fs/xfs/scrub/scrub.c
@@ -123,7 +123,7 @@
* structure state to decide (in broad terms) if scrub/repair are
* supported by the running kernel.
*/
-int
+static int
xfs_scrub_probe(
struct xfs_scrub_context *sc)
{