summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7c852af)
raw | patch | inline | side by side (parent: 7c852af)
author | Trond Myklebust <Trond.Myklebust@netapp.com> | |
Wed, 10 Apr 2013 16:44:18 +0000 (12:44 -0400) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Fri, 12 Apr 2013 16:52:12 +0000 (09:52 -0700) |
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>
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>
fs/nfs/nfs4client.c | patch | blob | history |
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c
index 5a43da066a634c5176aecc8cd4f94e1292c4cbf9..c53189db8953f4c8c1d74176b35233759d881ec7 100644 (file)
--- a/fs/nfs/nfs4client.c
+++ b/fs/nfs/nfs4client.c
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;