Fix NFS typos in 2.5.43...
Subsystems (2)
PATCH 1/1 Fix NFS typos in 2.5.43...
The following patch fixes 2 obvious typos. Thanks to davem and George Anzinger for pointing them out.
Cheers,
Trond
fs/nfs/inode.c +1 -1
@@ -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; }
fs/nfs/proc.c +1 -1
@@ -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;