projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa33294
)
NFSv4: Doh! Typo in the fix to nfs41_walk_client_list
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 10 Apr 2013 16:44:18 +0000
(12:44 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 10 Apr 2013 16:57:29 +0000
(12:57 -0400)
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>
Cc: <stable@vger.kernel.org> # 3.7.x: 7b1f1fd: NFSv4/4.1: Fix bugs in nfs4[01]_walk_client_list
fs/nfs/nfs4client.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4client.c
b/fs/nfs/nfs4client.c
index
c7b346f
..
66b6664
100644
(file)
--- a/
fs/nfs/nfs4client.c
+++ b/
fs/nfs/nfs4client.c
@@
-482,6
+482,7
@@
int nfs41_walk_client_list(struct nfs_client *new,
atomic_inc(&pos->cl_count);
*result = pos;
+ status = 0;
dprintk("NFS: <-- %s using nfs_client = %p ({%d})\n",
__func__, pos, atomic_read(&pos->cl_count));
break;