Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 764aa3e9 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: avoid double lock in truncate_blocks



The init_inode_metadata calls truncate_blocks when error is occurred.
The callers holds f2fs_lock_op, so we should not call it again in
truncate_blocks.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 14f4e690
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment