xfs: add scrub to XFS_BUILD_OPTIONS
authorEric Sandeen <sandeen@sandeen.net>
Wed, 31 Jan 2018 19:31:10 +0000 (11:31 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 2 Feb 2018 05:06:15 +0000 (21:06 -0800)
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>
fs/xfs/xfs_super.h

index fcc5dfc70aa0c93a635514cb7acececb9e05e2e6..8cee8e8050e3e9fa5ebba5f4009e064c27dc7688 100644 (file)
@@ -44,6 +44,12 @@ extern void xfs_qm_exit(void);
 # define XFS_REALTIME_STRING
 #endif
 
+#ifdef CONFIG_XFS_ONLINE_SCRUB
+# define XFS_SCRUB_STRING      "scrub, "
+#else
+# define XFS_SCRUB_STRING
+#endif
+
 #ifdef DEBUG
 # define XFS_DBG_STRING                "debug"
 #else
@@ -54,6 +60,7 @@ extern void xfs_qm_exit(void);
 #define XFS_BUILD_OPTIONS      XFS_ACL_STRING \
                                XFS_SECURITY_STRING \
                                XFS_REALTIME_STRING \
+                               XFS_SCRUB_STRING \
                                XFS_DBG_STRING /* DBG must be last */
 
 struct xfs_inode;