don't pass superblock to hypfs_diag_create_files
[deliverable/linux.git] / arch / s390 / hypfs / inode.c
index 70627216ab66afba1946aa6f5d6f618a196cc62c..aa5de3f54ce3ed5bef4a01af4111983399214124 100644 (file)
@@ -195,7 +195,7 @@ static ssize_t hypfs_aio_write(struct kiocb *iocb, const struct iovec *iov,
        if (MACHINE_IS_VM)
                rc = hypfs_vm_create_files(sb->s_root);
        else
-               rc = hypfs_diag_create_files(sb, sb->s_root);
+               rc = hypfs_diag_create_files(sb->s_root);
        if (rc) {
                pr_err("Updating the hypfs tree failed\n");
                hypfs_delete_tree(sb->s_root);
@@ -304,7 +304,7 @@ static int hypfs_fill_super(struct super_block *sb, void *data, int silent)
        if (MACHINE_IS_VM)
                rc = hypfs_vm_create_files(root_dentry);
        else
-               rc = hypfs_diag_create_files(sb, root_dentry);
+               rc = hypfs_diag_create_files(root_dentry);
        if (rc)
                return rc;
        sbi->update_file = hypfs_create_update_file(sb, root_dentry);
This page took 0.030164 seconds and 5 git commands to generate.