diff options
| author | Chao Yu <yuchao0@huawei.com> | 2021-03-17 12:56:04 +0300 | 
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-03-26 04:20:51 +0300 | 
| commit | 3fd9735908287cdcd7dd04912e8ba7d749313f13 (patch) | |
| tree | 526666eb0bcdf644b12bb4bd3ed1d3bc08432c48 /lib/mpi/mpi-cmp.c | |
| parent | f3e367d4fe2bcccb51d64cb974f73153d23adf15 (diff) | |
| download | linux-3fd9735908287cdcd7dd04912e8ba7d749313f13.tar.xz | |
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 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
