summaryrefslogtreecommitdiff
path: root/fs/f2fs/checkpoint.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-10-24 00:48:49 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2017-11-06 03:41:43 +0300
commit1f227a3e215d3613ea6cbc2fbe29caafbcaa8f71 (patch)
tree30cf2c4cb3b9b33116511bc5d41be50081adbda7 /fs/f2fs/checkpoint.c
parentdca6951f5adc5262ae2689cf2656628b309eabd7 (diff)
downloadlinux-1f227a3e215d3613ea6cbc2fbe29caafbcaa8f71.tar.xz
f2fs: stop all the operations by cp_error flag
This patch replaces to use cp_error flag instead of RDONLY for quota off. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r--fs/f2fs/checkpoint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 201608281681..6b52d4b66c7b 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -29,7 +29,6 @@ struct kmem_cache *inode_entry_slab;
void f2fs_stop_checkpoint(struct f2fs_sb_info *sbi, bool end_io)
{
set_ckpt_flags(sbi, CP_ERROR_FLAG);
- sbi->sb->s_flags |= MS_RDONLY;
if (!end_io)
f2fs_flush_merged_writes(sbi);
}