mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
NFSv4: Doh! Typo in the fix to nfs41_walk_client_list
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
This commit is contained in:
parent
fa332941c0
commit
eb04e0ac19
1 changed files with 1 additions and 0 deletions
|
@ -482,6 +482,7 @@ int nfs41_walk_client_list(struct nfs_client *new,
|
||||||
|
|
||||||
atomic_inc(&pos->cl_count);
|
atomic_inc(&pos->cl_count);
|
||||||
*result = pos;
|
*result = pos;
|
||||||
|
status = 0;
|
||||||
dprintk("NFS: <-- %s using nfs_client = %p ({%d})\n",
|
dprintk("NFS: <-- %s using nfs_client = %p ({%d})\n",
|
||||||
__func__, pos, atomic_read(&pos->cl_count));
|
__func__, pos, atomic_read(&pos->cl_count));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue