Trond Myklebust b72888cb0b NFSv4: Fix up nfs4_proc_lookup_mountpoint
Currently, we do not check the return value of client = rpc_clone_client(),
nor do we shut down the resulting cloned rpc_clnt in the case where a
NFS4ERR_WRONGSEC has caused nfs4_proc_lookup_common() to replace the
original value of 'client' (causing a memory leak).

Fix both issues and simplify the code by moving the call to
rpc_clone_client() until after nfs4_proc_lookup_common() has
done its business.

Reported-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2013-08-07 20:47:26 -04:00
..
2013-07-09 12:09:43 -07:00
2013-06-08 16:20:18 -04:00
2012-12-20 22:19:42 +00:00
2013-06-28 15:22:07 -04:00
2012-10-02 08:17:02 -07:00
2012-07-30 19:06:41 -04:00
2013-07-09 12:09:43 -07:00
2012-07-30 19:06:46 -04:00
2013-07-09 12:09:43 -07:00
2012-07-30 19:06:52 -04:00
2013-07-05 18:59:33 +04:00