commit | bbe7449e2599b58cf7b995461e2189998111f907 | [log] [tgz] |
---|---|---|
author | Phillip Potter <phil@philpotter.co.uk> | Mon Jan 21 00:54:27 2019 +0000 |
committer | Jan Kara <jack@suse.cz> | Mon Jan 21 17:48:13 2019 +0100 |
tree | 45fb7c60c894558ebbeda7c2c444447739c8cd02 | |
parent | 49a57857aeea06ca831043acbb0fa5e0f50602fd [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>