summaryrefslogtreecommitdiff
path: root/include/linux/f2fs_fs.h
diff options
context:
space:
mode:
authorWeizhao Ouyang <o451686892@gmail.com>2023-04-04 06:28:44 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2023-04-10 20:58:45 +0300
commit0c9f4521958ff52b74967c8a39a8b5747ba8df41 (patch)
tree034a07dd8bc6b54266f80751e9248ca51ab90132 /include/linux/f2fs_fs.h
parent3094e5579b4d5d8343fdb05e9a3a35cc85a14c1c (diff)
downloadlinux-0c9f4521958ff52b74967c8a39a8b5747ba8df41.tar.xz
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>
Diffstat (limited to 'include/linux/f2fs_fs.h')
-rw-r--r--include/linux/f2fs_fs.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index 881eb9321967..1d6402529d10 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -584,21 +584,6 @@ struct f2fs_dentry_block {
__u8 filename[NR_DENTRY_IN_BLOCK][F2FS_SLOT_LEN];
} __packed;
-/* file types used in inode_info->flags */
-enum {
- F2FS_FT_UNKNOWN,
- F2FS_FT_REG_FILE,
- F2FS_FT_DIR,
- F2FS_FT_CHRDEV,
- F2FS_FT_BLKDEV,
- F2FS_FT_FIFO,
- F2FS_FT_SOCK,
- F2FS_FT_SYMLINK,
- F2FS_FT_MAX
-};
-
-#define S_SHIFT 12
-
#define F2FS_DEF_PROJID 0 /* default project ID */
#endif /* _LINUX_F2FS_FS_H */