diff options
Diffstat (limited to 'fs/xfs/scrub/common.c')
-rw-r--r-- | fs/xfs/scrub/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/scrub/common.c b/fs/xfs/scrub/common.c index abe88fa756aa..299567271e01 100644 --- a/fs/xfs/scrub/common.c +++ b/fs/xfs/scrub/common.c @@ -910,6 +910,7 @@ xchk_stop_reaping( { sc->flags |= XCHK_REAPING_DISABLED; xfs_stop_block_reaping(sc->mp); + xfs_inactive_cancel_work(sc->mp); } /* Restart background reaping of resources. */ @@ -917,6 +918,7 @@ void xchk_start_reaping( struct xfs_scrub *sc) { + xfs_inactive_schedule_work(sc->mp, 0); xfs_start_block_reaping(sc->mp); sc->flags &= ~XCHK_REAPING_DISABLED; } |