Commit bc5321b6 authored by Trond Myklebust's avatar Trond Myklebust

[PATCH] Fix NFS typos in 2.5.43...

The following patch fixes 2 obvious typos. Thanks to davem and George
Anzinger for pointing them out.
parent 5a7728c6
...@@ -1355,7 +1355,7 @@ static int nfs4_fill_super(struct super_block *sb, struct nfs4_mount_data *data, ...@@ -1355,7 +1355,7 @@ static int nfs4_fill_super(struct super_block *sb, struct nfs4_mount_data *data,
if (data->auth_flavourlen != 0) { if (data->auth_flavourlen != 0) {
if (data->auth_flavourlen > 1) if (data->auth_flavourlen > 1)
printk(KERN_INFO "NFS: cannot yet deal with multiple auth flavours.\n"); printk(KERN_INFO "NFS: cannot yet deal with multiple auth flavours.\n");
if (copy_from_user(authflavour, data->auth_flavours, sizeof(authflavour))) { if (copy_from_user(&authflavour, data->auth_flavours, sizeof(authflavour))) {
err = -EFAULT; err = -EFAULT;
goto out_fail; goto out_fail;
} }
......
...@@ -490,7 +490,7 @@ nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, ...@@ -490,7 +490,7 @@ nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle,
dprintk("NFS call fsinfo\n"); dprintk("NFS call fsinfo\n");
info->fattr->valid = 0; info->fattr->valid = 0;
status = rpc_call(server->client, NFSPROC_STATFS, fhandle, &info, 0); status = rpc_call(server->client, NFSPROC_STATFS, fhandle, &fsinfo, 0);
dprintk("NFS reply fsinfo: %d\n", status); dprintk("NFS reply fsinfo: %d\n", status);
if (status) if (status)
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment