aboutsummaryrefslogtreecommitdiffstats
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, 4 insertions, 0 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 3eb076ce4c07..02737596b597 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -1536,9 +1536,13 @@ static void ocfs2_put_super(struct super_block *sb)
1536{ 1536{
1537 mlog_entry("(0x%p)\n", sb); 1537 mlog_entry("(0x%p)\n", sb);
1538 1538
1539 lock_kernel();
1540
1539 ocfs2_sync_blockdev(sb); 1541 ocfs2_sync_blockdev(sb);
1540 ocfs2_dismount_volume(sb, 0); 1542 ocfs2_dismount_volume(sb, 0);
1541 1543
1544 unlock_kernel();
1545
1542 mlog_exit_void(); 1546 mlog_exit_void();
1543} 1547}
1544 1548