Messages in this thread Patch in this message |  | | Date | Wed, 16 Oct 2002 15:18:32 +0200 | | Subject | [PATCH] Fix NFS typos in 2.5.43... | | From | Trond Myklebust <> |
| |
The following patch fixes 2 obvious typos. Thanks to davem and George Anzinger for pointing them out.
Cheers, Trond
diff -u --recursive --new-file linux-2.5.43/fs/nfs/inode.c linux-2.5.43-fixes/fs/nfs/inode.c --- linux-2.5.43/fs/nfs/inode.c 2002-10-14 12:43:11.000000000 -0400 +++ linux-2.5.43-fixes/fs/nfs/inode.c 2002-10-16 08:44:04.000000000 -0400 @@ -1355,7 +1355,7 @@ if (data->auth_flavourlen != 0) { if (data->auth_flavourlen > 1) 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; goto out_fail; } diff -u --recursive --new-file linux-2.5.43/fs/nfs/proc.c linux-2.5.43-fixes/fs/nfs/proc.c --- linux-2.5.43/fs/nfs/proc.c 2002-10-12 19:33:34.000000000 -0400 +++ linux-2.5.43-fixes/fs/nfs/proc.c 2002-10-16 08:44:29.000000000 -0400 @@ -490,7 +490,7 @@ dprintk("NFS call fsinfo\n"); 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); if (status) goto out; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |