f2fs: clean up f2fs_abort_atomic_write()
authorChao Yu <chao.yu@oppo.com>
Thu, 4 Aug 2022 13:38:21 +0000 (21:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 5 Aug 2022 11:20:02 +0000 (04:20 -0700)
commite53f8643474a32ddfcfd04e5b22613fdd2a92a52
treec5b6683d20c561eaf5abbd3603cd7167786d6e45
parentbff139b49d9f70c1ac5384aac94554846aa834de
f2fs: clean up f2fs_abort_atomic_write()

f2fs_abort_atomic_write() has checked whether current inode is
atomic_write one or not, it's redundant to check in its caller,
remove it for cleanup.

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