diff options
| author | Chao Yu <chao@kernel.org> | 2026-03-23 16:38:32 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-03-24 17:21:01 +0000 |
| commit | bd882ffdd48a200ca2faa7c3e690ecf765784b16 (patch) | |
| tree | acf703dfa975f9bb1739008a4f60e72c92e126b6 /include/mtd/git@git.tavy.me:linux-stable.git | |
| parent | 5471834a96fb697874be2ca0b052e74bcf3c23d1 (diff) | |
f2fs: call f2fs_handle_critical_error() to set cp_error flag
f2fs_handle_page_eio() is the only left place we set CP_ERROR_FLAG
directly, it missed to update superblock.s_stop_reason, let's
call f2fs_handle_critical_error() instead to fix that.
Introduce STOP_CP_REASON_READ_{META,NODE,DATA} stop_cp_reason enum
variable to indicate which kind of data we failed to read.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/mtd/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
