]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/super.c
[PATCH] lockdep: annotate sb ->s_umount
[linux-2.6-omap-h63xx.git] / fs / super.c
index 5a4fe8be462ad998d0f32cdf270f710d210d6326..6d4e8174b6db4fd7548b94403aafdd49043966f9 100644 (file)
@@ -72,6 +72,7 @@ static struct super_block *alloc_super(struct file_system_type *type)
                INIT_LIST_HEAD(&s->s_inodes);
                init_rwsem(&s->s_umount);
                mutex_init(&s->s_lock);
+               lockdep_set_class(&s->s_umount, &type->s_umount_key);
                /*
                 * The locking rules for s_lock are up to the
                 * filesystem. For example ext3fs has different