aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2018-01-31 14:31:10 -0500
committerDarrick J. Wong <darrick.wong@oracle.com>2018-02-02 00:06:15 -0500
commit494370ccaae891de0a99b3c23b2df482c95cab8c (patch)
tree4b5a08e29ea864b51cfb627416a701567b5109f2
parent131fa58d391fc0939f6c66b23776ad5df5db20f9 (diff)
xfs: add scrub to XFS_BUILD_OPTIONS
Advertise this config option along with the others. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
-rw-r--r--fs/xfs/xfs_super.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/xfs_super.h b/fs/xfs/xfs_super.h
index fcc5dfc70aa0..8cee8e8050e3 100644
--- a/fs/xfs/xfs_super.h
+++ b/fs/xfs/xfs_super.h
@@ -44,6 +44,12 @@ extern void xfs_qm_exit(void);
44# define XFS_REALTIME_STRING 44# define XFS_REALTIME_STRING
45#endif 45#endif
46 46
47#ifdef CONFIG_XFS_ONLINE_SCRUB
48# define XFS_SCRUB_STRING "scrub, "
49#else
50# define XFS_SCRUB_STRING
51#endif
52
47#ifdef DEBUG 53#ifdef DEBUG
48# define XFS_DBG_STRING "debug" 54# define XFS_DBG_STRING "debug"
49#else 55#else
@@ -54,6 +60,7 @@ extern void xfs_qm_exit(void);
54#define XFS_BUILD_OPTIONS XFS_ACL_STRING \ 60#define XFS_BUILD_OPTIONS XFS_ACL_STRING \
55 XFS_SECURITY_STRING \ 61 XFS_SECURITY_STRING \
56 XFS_REALTIME_STRING \ 62 XFS_REALTIME_STRING \
63 XFS_SCRUB_STRING \
57 XFS_DBG_STRING /* DBG must be last */ 64 XFS_DBG_STRING /* DBG must be last */
58 65
59struct xfs_inode; 66struct xfs_inode;