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

f2fs: fix wrong error injection for evict_inode



The previous one was not a proper location to inject an error, since there
is no point to get errors. Instead, we can emulate EIO during truncation,
and the below logic should handle it correctly.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 10047f53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment