From: Andrew Morton In file included from fs/sysfs/group.c:16: fs/sysfs/sysfs.h:42: error: field 'sem' has incomplete type Cc: Oliver Neukum Cc: Greg KH Signed-off-by: Andrew Morton --- fs/sysfs/group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/sysfs/group.c~fix-gregkh-driver-driver-core-fix-race-in-sysfs-between-sysfs_remove_file-and-read-write fs/sysfs/group.c --- a/fs/sysfs/group.c~fix-gregkh-driver-driver-core-fix-race-in-sysfs-between-sysfs_remove_file-and-read-write +++ a/fs/sysfs/group.c @@ -13,9 +13,9 @@ #include #include #include +#include #include "sysfs.h" - static void remove_files(struct dentry * dir, const struct attribute_group * grp) { _