aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust2013-04-10 11:44:18 -0500
committerGreg Kroah-Hartman2013-04-12 11:52:12 -0500
commit2a85fc20da763b9bb3ec2b959a3c282026b9888d (patch)
tree5e2d74da9664fd21b8ead7f3367429f52a8bf44b /fs
parent7c852afafa3bf8daeaee5c60399d55c13618ac8a (diff)
downloadkernel-omap-2a85fc20da763b9bb3ec2b959a3c282026b9888d.tar.gz
kernel-omap-2a85fc20da763b9bb3ec2b959a3c282026b9888d.tar.xz
kernel-omap-2a85fc20da763b9bb3ec2b959a3c282026b9888d.zip
NFSv4: Doh! Typo in the fix to nfs41_walk_client_list
commit eb04e0ac198cec3bab407ad220438dfa65c19c67 upstream. Make sure that we set the status to 0 on success. Missed in testing because it never appears when doing multiple mounts to _different_ servers. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/nfs4client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c
index 5a43da066a63..c53189db8953 100644
--- a/fs/nfs/nfs4client.c
+++ b/fs/nfs/nfs4client.c
@@ -482,6 +482,7 @@ int nfs41_walk_client_list(struct nfs_client *new,
482 482
483 atomic_inc(&pos->cl_count); 483 atomic_inc(&pos->cl_count);
484 *result = pos; 484 *result = pos;
485 status = 0;
485 dprintk("NFS: <-- %s using nfs_client = %p ({%d})\n", 486 dprintk("NFS: <-- %s using nfs_client = %p ({%d})\n",
486 __func__, pos, atomic_read(&pos->cl_count)); 487 __func__, pos, atomic_read(&pos->cl_count));
487 break; 488 break;