diff options
author | Phillip Potter <phil@philpotter.co.uk> | 2019-01-21 00:54:27 +0000 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-01-21 17:48:13 +0100 |
commit | bbe7449e2599b58cf7b995461e2189998111f907 (patch) | |
tree | 45fb7c60c894558ebbeda7c2c444447739c8cd02 /fs/ext2 | |
parent | 49a57857aeea06ca831043acbb0fa5e0f50602fd (diff) | |
download | linux-stable-bbe7449e2599b58cf7b995461e2189998111f907.tar.gz linux-stable-bbe7449e2599b58cf7b995461e2189998111f907.tar.bz2 linux-stable-bbe7449e2599b58cf7b995461e2189998111f907.zip |
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')
0 files changed, 0 insertions, 0 deletions