]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/super.c
Merge branch 'for-linus' of git://git.open-osd.org/linux-open-osd
[karo-tx-linux.git] / fs / super.c
index 89afca5055ab513db1bf7ae1821e282a5be25836..69688b15f1fa928002584b1504cfe2146ba3b67f 100644 (file)
@@ -88,6 +88,7 @@ static struct super_block *alloc_super(struct file_system_type *type)
                s->s_count = 1;
                atomic_set(&s->s_active, 1);
                mutex_init(&s->s_vfs_rename_mutex);
+               lockdep_set_class(&s->s_vfs_rename_mutex, &type->s_vfs_rename_key);
                mutex_init(&s->s_dquot.dqio_mutex);
                mutex_init(&s->s_dquot.dqonoff_mutex);
                init_rwsem(&s->s_dquot.dqptr_sem);