Driver core: fix race in sysfs between sysfs_remove_file() and read()/write()
[deliverable/linux.git] / fs / sysfs / dir.c
index 2bab1b4ddf5ae506b0080157380dfed1edbfda4b..9ff04491e3ea59766f220508581d3cd01e4ac988 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/module.h>
 #include <linux/kobject.h>
 #include <linux/namei.h>
+#include <asm/semaphore.h>
 #include "sysfs.h"
 
 DECLARE_RWSEM(sysfs_rename_sem);
This page took 0.026373 seconds and 5 git commands to generate.