f2fs: use common implementation of file type
authorWeizhao Ouyang <o451686892@gmail.com>
Tue, 4 Apr 2023 03:28:44 +0000 (11:28 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 10 Apr 2023 17:58:45 +0000 (10:58 -0700)
commit0c9f4521958ff52b74967c8a39a8b5747ba8df41
tree034a07dd8bc6b54266f80751e9248ca51ab90132
parent3094e5579b4d5d8343fdb05e9a3a35cc85a14c1c
f2fs: use common implementation of file type

Use common implementation of file type conversion helpers.

Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/inline.c
include/linux/f2fs_fs.h