]> err.no Git - linux-2.6/blobdiff - fs/super.c
[PATCH] libata: implement ata_port_max_devices()
[linux-2.6] / fs / super.c
index 324c2d232f542b4d5136e151eba58b943c30a47b..8a669f6f3f52144f09d9225bbb20b646671fd8f6 100644 (file)
@@ -486,7 +486,7 @@ asmlinkage long sys_ustat(unsigned dev, struct ustat __user * ubuf)
         s = user_get_super(new_decode_dev(dev));
         if (s == NULL)
                 goto out;
-       err = vfs_statfs(s, &sbuf);
+       err = vfs_statfs(s->s_root, &sbuf);
        drop_super(s);
        if (err)
                goto out;
@@ -871,8 +871,6 @@ do_kern_mount(const char *fstype, int flags, const char *name, void *data)
        return mnt;
 }
 
-EXPORT_SYMBOL_GPL(do_kern_mount);
-
 struct vfsmount *kern_mount(struct file_system_type *type)
 {
        return vfs_kern_mount(type, 0, type->name, NULL);