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)
commitca7efd71c3dffd5442b448dd553a903425222597
tree18a14051646643daed308225f6e21f28cfdb5545
parent718693c84d8f4b235d030c377258f12f38a71c67
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