diff options
Diffstat (limited to 'fs/xfs/scrub/scrub.c')
-rw-r--r-- | fs/xfs/scrub/scrub.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index 7bab30c2766e..a994710d99ae 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -193,6 +193,10 @@ xchk_teardown( xchk_irele(sc, sc->ip); sc->ip = NULL; } + if (sc->flags & XREP_ATOMIC_EXCHANGE) { + sc->flags &= ~XREP_ATOMIC_EXCHANGE; + xfs_xchg_range_rele_log_assist(sc->mp); + } if (sc->flags & XCHK_HAVE_FREEZE_PROT) { sc->flags &= ~XCHK_HAVE_FREEZE_PROT; mnt_drop_write_file(sc->file); |