diff options
Diffstat (limited to 'fs/sysfs')
-rw-r--r-- | fs/sysfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index d3118d482935..7a8ce9e98b32 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c | |||
@@ -24,9 +24,9 @@ | |||
24 | 24 | ||
25 | DEFINE_MUTEX(sysfs_mutex); | 25 | DEFINE_MUTEX(sysfs_mutex); |
26 | DEFINE_MUTEX(sysfs_rename_mutex); | 26 | DEFINE_MUTEX(sysfs_rename_mutex); |
27 | spinlock_t sysfs_assoc_lock = SPIN_LOCK_UNLOCKED; | 27 | DEFINE_SPINLOCK(sysfs_assoc_lock); |
28 | 28 | ||
29 | static spinlock_t sysfs_ino_lock = SPIN_LOCK_UNLOCKED; | 29 | static DEFINE_SPINLOCK(sysfs_ino_lock); |
30 | static DEFINE_IDA(sysfs_ino_ida); | 30 | static DEFINE_IDA(sysfs_ino_ida); |
31 | 31 | ||
32 | /** | 32 | /** |