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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c
index 60359291761f..74afb9fbf58e 100644
--- a/fs/ufs/super.c
+++ b/fs/ufs/super.c
@@ -1152,6 +1152,9 @@ static void ufs_put_super(struct super_block *sb)
1152 1152
1153 UFSD("ENTER\n"); 1153 UFSD("ENTER\n");
1154 1154
1155 if (sb->s_dirt)
1156 ufs_write_super(sb);
1157
1155 if (!(sb->s_flags & MS_RDONLY)) 1158 if (!(sb->s_flags & MS_RDONLY))
1156 ufs_put_super_internal(sb); 1159 ufs_put_super_internal(sb);
1157 1160