diff options
Diffstat (limited to 'fs/xfs/scrub/common.c')
-rw-r--r-- | fs/xfs/scrub/common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/scrub/common.c b/fs/xfs/scrub/common.c index ac08fea7fc0f..6d1355b57d62 100644 --- a/fs/xfs/scrub/common.c +++ b/fs/xfs/scrub/common.c @@ -1250,5 +1250,8 @@ xchk_fshooks_enable( if (scrub_fshooks & XCHK_FSHOOKS_NLINKS) xfs_nlink_hook_enable(); + if (scrub_fshooks & XCHK_FSHOOKS_RMAP) + xfs_rmap_hook_enable(); + sc->flags |= scrub_fshooks; } |