NFSv4: Fix NFSv4 reference counting for trunked sessions
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Jan 2013 03:41:53 +0000 (22:41 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 27 Jan 2013 20:51:15 +0000 (15:51 -0500)
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]

No differences found