diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-10-24 00:48:49 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-11-06 03:41:43 +0300 |
commit | 1f227a3e215d3613ea6cbc2fbe29caafbcaa8f71 (patch) | |
tree | 30cf2c4cb3b9b33116511bc5d41be50081adbda7 /fs/f2fs/checkpoint.c | |
parent | dca6951f5adc5262ae2689cf2656628b309eabd7 (diff) | |
download | linux-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.c | 1 |
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); } |