From: Trond Myklebust Date: Mon, 24 Sep 2012 18:18:39 +0000 (-0400) Subject: NFSv4.1: nfs4_proc_layoutreturn must always drop the plh_block_lgets count X-Git-Tag: v3.7-rc1~58^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=849b286fd026a6924cc6a4315e446ed88ab983d2;p=pandora-kernel.git NFSv4.1: nfs4_proc_layoutreturn must always drop the plh_block_lgets count Currently it does not do so if the RPC call failed to start. Fix is to move the decrement of plh_block_lgets into nfs4_layoutreturn_release. Also remove a redundant test of task->tk_status in nfs4_layoutreturn_done: if lrp->res.lrs_present is set, then obviously the RPC call succeeded. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed