summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2021-03-17 17:56:04 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-03-25 18:20:51 -0700
commit3fd9735908287cdcd7dd04912e8ba7d749313f13 (patch)
tree526666eb0bcdf644b12bb4bd3ed1d3bc08432c48 /scripts
parentf3e367d4fe2bcccb51d64cb974f73153d23adf15 (diff)
downloadlinux-stable-3fd9735908287cdcd7dd04912e8ba7d749313f13.tar.gz
linux-stable-3fd9735908287cdcd7dd04912e8ba7d749313f13.tar.bz2
linux-stable-3fd9735908287cdcd7dd04912e8ba7d749313f13.zip
f2fs: fix error path of f2fs_remount()
In error path of f2fs_remount(), it missed to restart/stop kernel thread or enable/disable checkpoint, then mount option status may not be consistent with real condition of filesystem, so let's reorder remount flow a bit as below and do recovery correctly in error path: 1) handle gc thread 2) handle ckpt thread 3) handle flush thread 4) handle checkpoint disabling Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions