From: Chuck Lever Date: Fri, 22 Mar 2013 16:52:59 +0000 (-0400) Subject: SUNRPC: Remove extra xprt_put() X-Git-Tag: v3.9-rc7~29^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a58e0be6f6b3eb2079b0b8fedc9df6fa86869f1e;p=pandora-kernel.git SUNRPC: Remove extra xprt_put() While testing error cases where rpc_new_client() fails, I saw some oopses. If rpc_new_client() fails, it already invokes xprt_put(). Thus __rpc_clone_client() does not need to invoke it again. Introduced by commit 1b63a751 "SUNRPC: Refactor rpc_clone_client()" Fri Sep 14, 2012. Signed-off-by: Chuck Lever Cc: stable@vger.kernel.org [>=3.7] Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed