]> git.baikalelectronics.ru Git - 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)
commit3ae5c72595e141bf3b504c659691b46c1c59e3a5
treed4e3d28b329e89eb155ed8baba0ee0945ad7ccbc
parent938ca9216828a4ad7c23b2c5c2014966d20e8859
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