summaryrefslogtreecommitdiff
path: root/fs/ext2/dir.c
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2019-01-21 00:54:27 +0000
committerJan Kara <jack@suse.cz>2019-01-21 17:48:13 +0100
commitbbe7449e2599b58cf7b995461e2189998111f907 (patch)
tree45fb7c60c894558ebbeda7c2c444447739c8cd02 /fs/ext2/dir.c
parent49a57857aeea06ca831043acbb0fa5e0f50602fd (diff)
fs: common implementation of file type
Many file systems use a copy&paste implementation of dirent to on-disk file type conversions. Create a common implementation to be used by file systems with some useful conversion helpers to reduce open coded file type conversions in file system code. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/dir.c')
0 files changed, 0 insertions, 0 deletions