summaryrefslogtreecommitdiffstats
path: root/fs/freevxfs/vxfs_super.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2021-03-31 11:16:32 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-03-30 20:58:15 -0700
commit23738e74472f9c5f3a05a68724a2ccfba97d283d (patch)
tree302fb3525e0c1f5ae2553379e321c4b63591bf94 /fs/freevxfs/vxfs_super.c
parent5911d2d1d1a38b26585383478bd71d9254e48bdf (diff)
downloadlinux-stable-23738e74472f9c5f3a05a68724a2ccfba97d283d.tar.gz
linux-stable-23738e74472f9c5f3a05a68724a2ccfba97d283d.tar.bz2
linux-stable-23738e74472f9c5f3a05a68724a2ccfba97d283d.zip
f2fs: fix to restrict mount condition on readonly block device
When we mount an unclean f2fs image in a readonly block device, let's make mount() succeed only when there is no recoverable data in that image, otherwise after mount(), file fsyned won't be recovered as user expected. Fixes: 938a184265d7 ("f2fs: give a warning only for readonly partition") Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/freevxfs/vxfs_super.c')
0 files changed, 0 insertions, 0 deletions