Skip to content
Commit 8d714f8a authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 66110abc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment