]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: remove unnecessary f2fs_lock_op in f2fs_new_inode
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Mar 2022 20:30:04 +0000 (13:30 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 25 Apr 2022 22:13:02 +0000 (15:13 -0700)
commit2c0f3fea405a94d97ea439e8c22f73da6de3126f
treee924c5daaea5317d5c055730664bad181181a64d
parent1a812818fb75195d5c9d45396c07ec6763529a6c
f2fs: remove unnecessary f2fs_lock_op in f2fs_new_inode

This can be removed, since f2fs_alloc_nid() actually doesn't require to block
checkpoint and __f2fs_build_free_nids() is covered by nm_i->nat_tree_lock.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c