summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r--fs/ocfs2/super.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 80733496b22a..040bbb6a6e4b 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -2521,10 +2521,8 @@ static void ocfs2_delete_osb(struct ocfs2_super *osb)
2521 /* This function assumes that the caller has the main osb resource */ 2521 /* This function assumes that the caller has the main osb resource */
2522 2522
2523 /* ocfs2_initializer_super have already created this workqueue */ 2523 /* ocfs2_initializer_super have already created this workqueue */
2524 if (osb->ocfs2_wq) { 2524 if (osb->ocfs2_wq)
2525 flush_workqueue(osb->ocfs2_wq);
2526 destroy_workqueue(osb->ocfs2_wq); 2525 destroy_workqueue(osb->ocfs2_wq);
2527 }
2528 2526
2529 ocfs2_free_slot_info(osb); 2527 ocfs2_free_slot_info(osb);
2530 2528