diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-10 20:44:18 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-10 20:57:29 +0400 |
commit | eb04e0ac198cec3bab407ad220438dfa65c19c67 (patch) | |
tree | 3decd90ccd1d0d8aecb99e8c0fe0275ce05784d0 /fs | |
parent | fa332941c0c7c00e3420078268b7558d0ef792b5 (diff) | |
download | linux-eb04e0ac198cec3bab407ad220438dfa65c19c67.tar.xz |
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
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index c7b346f8cc44..66b6664dcd4c 100644 --- 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; |