Message ID | 1437467876-22106-18-git-send-email-yangds.fnst@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index b8cc291..0638436 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -2125,6 +2125,7 @@ static int ubifs_remount_fs(struct super_block *sb, int *flags, char *data) ubifs_msg(c, "cannot re-mount R/W - UBI volume is R/O"); return -EROFS; } + dquot_resume(sb, -1); err = ubifs_remount_rw(c); if (err) return err; @@ -2133,6 +2134,7 @@ static int ubifs_remount_fs(struct super_block *sb, int *flags, char *data) ubifs_msg(c, "cannot re-mount R/O due to prior errors"); return -EROFS; } + dquot_suspend(sb, -1); ubifs_remount_ro(c); }
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> --- fs/ubifs/super.c | 2 ++ 1 file changed, 2 insertions(+)