]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: remove the unnecessary check in f2fs_xattr_fiemap
authorZhang Qilong <zhangqilong3@huawei.com>
Fri, 23 Sep 2022 07:17:55 +0000 (15:17 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Oct 2022 20:31:44 +0000 (13:31 -0700)
commit4493945e291d693c0b781b2ef84368d5cbf1607f
tree18a14051646643daed308225f6e21f28cfdb5545
parentdff481dc9ace82288223515aa5052e380926534b
f2fs: remove the unnecessary check in f2fs_xattr_fiemap

Whehter or not error occurs, checking "err == 1" is unnecessary
in f2fs_xattr_fiemap(), and just remove it here.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c