commit | 764aa3e978020121cbb86111b5d8f42830015a06 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Aug 14 16:32:54 2014 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Aug 21 13:57:01 2014 -0700 |
tree | df2e0f43245a452010aa184042e7da2306ed2e4b | |
parent | 14f4e690857715d5e0cbe403b4cb8e8c904a6c15 [diff] |
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: Jaegeuk Kim <jaegeuk@kernel.org>