OSDN Git Service

ext2: use common file type conversion
authorPhillip Potter <phil@philpotter.co.uk>
Mon, 21 Jan 2019 00:54:31 +0000 (00:54 +0000)
committerJan Kara <jack@suse.cz>
Mon, 21 Jan 2019 16:48:17 +0000 (17:48 +0100)
commite108921894289d7479dae379cc00642802f33326
treead0929a7fd3c3d16e4f6ff99f0c6d80fe1317280
parentbbe7449e2599b58cf7b995461e2189998111f907
ext2: use common file type conversion

Deduplicate the ext2 file type conversion implementation and remove
EXT2_FT_* definitions - file systems that use the same file types as
defined by POSIX do not need to define their own versions and can
use the common helper functions decared in fs_types.h and implemented
in fs_types.c

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>
fs/ext2/dir.c
fs/ext2/ext2.h