Commit Graph
1 Commits
Author SHA1 Message Date
Phillip Potter bbe7449e25 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 <[email protected]>
Signed-off-by: Phillip Potter <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
2019-01-21 17:48:13 +01:00