]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: avoid unneeded error handling for revoke_entry_slab allocation
authorChao Yu <chao@kernel.org>
Wed, 25 May 2022 01:56:34 +0000 (09:56 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 25 May 2022 06:06:51 +0000 (23:06 -0700)
commit57c9cd4b360576cc8c8d534d9675f2164a9215a7
treee35f5d7616f92ebb31731ab0e3813daeaa017049
parentb5264f827de70763c517f7288116a15e4693e532
f2fs: avoid unneeded error handling for revoke_entry_slab allocation

In __f2fs_commit_atomic_write(), we will guarantee success of
revoke_entry_slab allocation, so let's avoid unneeded error handling.

Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c