]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/super.c
r8169: MSI support
[linux-2.6-omap-h63xx.git] / fs / super.c
index 5260d620c555fbd987eed1642649c0372670ace9..1bfcca2104be91ac9a8233cd94bf0e0e3ef6a182 100644 (file)
@@ -67,6 +67,7 @@ static struct super_block *alloc_super(struct file_system_type *type)
                }
                INIT_LIST_HEAD(&s->s_dirty);
                INIT_LIST_HEAD(&s->s_io);
+               INIT_LIST_HEAD(&s->s_more_io);
                INIT_LIST_HEAD(&s->s_files);
                INIT_LIST_HEAD(&s->s_instances);
                INIT_HLIST_HEAD(&s->s_anon);
@@ -884,6 +885,7 @@ vfs_kern_mount(struct file_system_type *type, int flags, const char *name, void
        error = type->get_sb(type, flags, name, data, mnt);
        if (error < 0)
                goto out_free_secdata;
+       BUG_ON(!mnt->mnt_sb);
 
        error = security_sb_kern_mount(mnt->mnt_sb, secdata);
        if (error)