From: Bart Van Assche Date: Mon, 14 Nov 2016 23:53:05 +0000 (-0800) Subject: configfs: Minimize #include directives X-Git-Tag: v4.10-rc1~34^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6ab53742a52786ca594438eff2c80c3a242aaf3;p=thirdparty%2Flinux.git 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 --- diff --git a/include/linux/configfs.h b/include/linux/configfs.h index d9d6a9d77489a..9fc9843c03009 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