From a6ab53742a52786ca594438eff2c80c3a242aaf3 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 14 Nov 2016 15:53:05 -0800 Subject: configfs: Minimize #include directives Only include the header files that are needed by configfs.h itself. Add #include . Signed-off-by: Bart Van Assche Cc: Christoph Hellwig --- include/linux/configfs.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'include/linux/configfs.h') diff --git a/include/linux/configfs.h b/include/linux/configfs.h index d9d6a9d77489..9fc9843c0300 100644 --- a/include/linux/configfs.h +++ b/include/linux/configfs.h @@ -35,14 +35,11 @@ #ifndef _CONFIGFS_H_ #define _CONFIGFS_H_ -#include -#include -#include -#include -#include -#include - -#include +#include /* S_IRUGO */ +#include /* ssize_t */ +#include /* struct list_head */ +#include /* struct kref */ +#include /* struct mutex */ #define CONFIGFS_ITEM_NAME_LEN 20 -- cgit v1.2.3-59-g8ed1b