diff options
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/super.c b/fs/super.c index ceaf2e3d594c..88811f60c8de 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -105,6 +105,7 @@ static inline void destroy_super(struct super_block *s) | |||
105 | { | 105 | { |
106 | security_sb_free(s); | 106 | security_sb_free(s); |
107 | kfree(s->s_subtype); | 107 | kfree(s->s_subtype); |
108 | kfree(s->s_options); | ||
108 | kfree(s); | 109 | kfree(s); |
109 | } | 110 | } |
110 | 111 | ||
@@ -603,6 +604,7 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force) | |||
603 | mark_files_ro(sb); | 604 | mark_files_ro(sb); |
604 | else if (!fs_may_remount_ro(sb)) | 605 | else if (!fs_may_remount_ro(sb)) |
605 | return -EBUSY; | 606 | return -EBUSY; |
607 | DQUOT_OFF(sb); | ||
606 | } | 608 | } |
607 | 609 | ||
608 | if (sb->s_op->remount_fs) { | 610 | if (sb->s_op->remount_fs) { |