diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_mru_cache.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 116cab970e0..fbd18c3074b 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -4336,7 +4336,7 @@ __nfs4_state_shutdown(void) | |||
4336 | void | 4336 | void |
4337 | nfs4_state_shutdown(void) | 4337 | nfs4_state_shutdown(void) |
4338 | { | 4338 | { |
4339 | cancel_rearming_delayed_workqueue(laundry_wq, &laundromat_work); | 4339 | cancel_delayed_work_sync(&laundromat_work); |
4340 | destroy_workqueue(laundry_wq); | 4340 | destroy_workqueue(laundry_wq); |
4341 | locks_end_grace(&nfsd4_manager); | 4341 | locks_end_grace(&nfsd4_manager); |
4342 | nfs4_lock_state(); | 4342 | nfs4_lock_state(); |
diff --git a/fs/xfs/xfs_mru_cache.c b/fs/xfs/xfs_mru_cache.c index 45ce15dc5b2..edfa178bafb 100644 --- a/fs/xfs/xfs_mru_cache.c +++ b/fs/xfs/xfs_mru_cache.c | |||
@@ -408,7 +408,7 @@ xfs_mru_cache_flush( | |||
408 | spin_lock(&mru->lock); | 408 | spin_lock(&mru->lock); |
409 | if (mru->queued) { | 409 | if (mru->queued) { |
410 | spin_unlock(&mru->lock); | 410 | spin_unlock(&mru->lock); |
411 | cancel_rearming_delayed_workqueue(xfs_mru_reap_wq, &mru->work); | 411 | cancel_delayed_work_sync(&mru->work); |
412 | spin_lock(&mru->lock); | 412 | spin_lock(&mru->lock); |
413 | } | 413 | } |
414 | 414 | ||