Skip to content

Commit

Permalink
xfs: add scrub to XFS_BUILD_OPTIONS
Browse files Browse the repository at this point in the history
Advertise this config option along with the others.

Signed-off-by: Eric Sandeen <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
  • Loading branch information
sandeen authored and djwong committed Feb 2, 2018
1 parent 131fa58 commit 494370c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fs/xfs/xfs_super.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit 494370c

Please sign in to comment.