diff options
-rw-r--r-- | fs/ocfs2/super.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 5445d72eb8e5..49d84f80f36c 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -1945,11 +1945,15 @@ static void ocfs2_dismount_volume(struct super_block *sb, int mnt_err) | |||
1945 | 1945 | ||
1946 | ocfs2_shutdown_local_alloc(osb); | 1946 | ocfs2_shutdown_local_alloc(osb); |
1947 | 1947 | ||
1948 | ocfs2_truncate_log_shutdown(osb); | ||
1949 | |||
1950 | /* This will disable recovery and flush any recovery work. */ | 1948 | /* This will disable recovery and flush any recovery work. */ |
1951 | ocfs2_recovery_exit(osb); | 1949 | ocfs2_recovery_exit(osb); |
1952 | 1950 | ||
1951 | /* | ||
1952 | * During dismount, when it recovers another node it will call | ||
1953 | * ocfs2_recover_orphans and queue delayed work osb_truncate_log_wq. | ||
1954 | */ | ||
1955 | ocfs2_truncate_log_shutdown(osb); | ||
1956 | |||
1953 | ocfs2_journal_shutdown(osb); | 1957 | ocfs2_journal_shutdown(osb); |
1954 | 1958 | ||
1955 | ocfs2_sync_blockdev(sb); | 1959 | ocfs2_sync_blockdev(sb); |