]> Git Repo - linux.git/commit
fs: common implementation of file type
authorPhillip Potter <[email protected]>
Mon, 21 Jan 2019 00:54:27 +0000 (00:54 +0000)
committerJan Kara <[email protected]>
Mon, 21 Jan 2019 16:48:13 +0000 (17:48 +0100)
commitbbe7449e2599b58cf7b995461e2189998111f907
tree45fb7c60c894558ebbeda7c2c444447739c8cd02
parent49a57857aeea06ca831043acbb0fa5e0f50602fd
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]>
MAINTAINERS
fs/Makefile
fs/fs_types.c [new file with mode: 0644]
include/linux/fs.h
include/linux/fs_types.h [new file with mode: 0644]
This page took 0.044754 seconds and 4 git commands to generate.