OSDN Git Service

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>
Tue, 18 Sep 2018 20:39:36 +0000 (13:39 -0700)
commitfc320c924c06a5ae587fbdcef85bcf6b8abadaa0
tree50dc428d8a113f4bddf67474aacd67eae01de821
parent45cd1d9d075fc6c4d90d3c758f1fe60e9a3e10e0
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