]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f2fs: avoid f2fs_bug_on() in cp_error case
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 31 Jul 2018 16:09:01 +0000 (09:09 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Aug 2018 23:19:05 +0000 (16:19 -0700)
commit8d714f8aa34cf6a49b8d8d291ab01a59699604bd
treed4e3d28b329e89eb155ed8baba0ee0945ad7ccbc
parent66110abc4c931f879d70e83e1281f891699364bf
f2fs: avoid f2fs_bug_on() in cp_error case

There is a subtle race condition to invoke f2fs_bug_on() in shutdown tests. I've
confirmed that the last checkpoint is preserved in consistent state, so it'd be
fine to just return error at this moment.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c