From: Trond Myklebust Date: Wed, 29 Jan 2014 17:12:15 +0000 (-0500) Subject: NFSv4: Fix a slot leak in nfs40_sequence_done X-Git-Tag: v3.14-rc1~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab92c19821a814ecf5a5279e2699bf28e66caee;p=pandora-kernel.git NFSv4: Fix a slot leak in nfs40_sequence_done The check for whether or not we sent an RPC call in nfs40_sequence_done is insufficient to decide whether or not we are holding a session slot, and thus should not be used to decide when to free that slot. This patch replaces the RPC_WAS_SENT() test with the correct test for whether or not slot == NULL. Cc: Chuck Lever Cc: stable@vger.kernel.org # 3.12+ Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed