From: Trond Myklebust Date: Sat, 19 Jan 2013 03:41:53 +0000 (-0500) Subject: NFSv4: Fix NFSv4 reference counting for trunked sessions X-Git-Tag: v3.8-rc6~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae19c2dd713edb7b8ad3d4ab9d234ed5dcb6b98;p=pandora-kernel.git 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 Cc: Chuck Lever Cc: Ben Greear Cc: stable@vger.kernel.org [>=3.7] --- Reading git-diff-tree failed