aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ufs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ufs/super.c')
-rw-r--r--fs/ufs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c
index a5ecabfdc976..c97210ee0670 100644
--- a/fs/ufs/super.c
+++ b/fs/ufs/super.c
@@ -1131,6 +1131,7 @@ static void ufs_write_super(struct super_block *sb)
1131 struct ufs_super_block_third * usb3; 1131 struct ufs_super_block_third * usb3;
1132 unsigned flags; 1132 unsigned flags;
1133 1133
1134 lock_super(sb);
1134 lock_kernel(); 1135 lock_kernel();
1135 UFSD("ENTER\n"); 1136 UFSD("ENTER\n");
1136 flags = UFS_SB(sb)->s_flags; 1137 flags = UFS_SB(sb)->s_flags;
@@ -1150,6 +1151,7 @@ static void ufs_write_super(struct super_block *sb)
1150 sb->s_dirt = 0; 1151 sb->s_dirt = 0;
1151 UFSD("EXIT\n"); 1152 UFSD("EXIT\n");
1152 unlock_kernel(); 1153 unlock_kernel();
1154 unlock_super(sb);
1153} 1155}
1154 1156
1155static void ufs_put_super(struct super_block *sb) 1157static void ufs_put_super(struct super_block *sb)