Files
linux/fs/configfs
Jeff Layton 364595a685 fs: consolidate duplicate dt_type helpers
There are three copies of the same dt_type helper sprinkled around the
tree. Convert them to use the common fs_umode_to_dtype function instead,
which has the added advantage of properly returning DT_UNKNOWN when
given a mode that contains an unrecognized type.

Cc: Chuck Lever <[email protected]>
Cc: Phillip Potter <[email protected]>
Suggested-by: Christian Brauner <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
2023-04-03 09:23:54 +02:00
..
2023-01-19 09:24:02 +01:00