Signed-off-by: Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx> --- fs/ubifs/super.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 1.8.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html