commit | 4ae19c2dd713edb7b8ad3d4ab9d234ed5dcb6b98 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Jan 18 22:41:53 2013 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Jan 27 15:51:15 2013 -0500 |
tree | 392b6191b3df070b385564252626b739f0b63de3 | |
parent | dee972b967ae111ad5705733de17a3bfc4632311 [diff] |
NFSv4: Fix NFSv4 reference counting for trunked sessions The reference counting in nfs4_init_client assumes wongly that it is safe for nfs4_discover_server_trunking() to return a pointer to a nfs_client prior to bumping the reference count. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Chuck Lever <chuck.lever@oracle.com> Cc: Ben Greear <greearb@candelatech.com> Cc: stable@vger.kernel.org [>=3.7]