From: Anna Schumaker Date: Mon, 2 Mar 2015 21:46:09 +0000 (-0500) Subject: NFS: Fix stateid used for NFS v4 closes X-Git-Tag: omap-for-v4.1/wl12xx-dt~60^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=369d6b7f00977eb9090212d4a47ac71f3ec5c217;p=pandora-kernel.git NFS: Fix stateid used for NFS v4 closes After 566fcec60 the client uses the "current stateid" from the nfs4_state structure to close a file. This could potentially contain a delegation stateid, which is disallowed by the protocol and causes servers to return NFS4ERR_BAD_STATEID. This patch restores the (correct) behavior of sending the open stateid to close a file. Reported-by: Olga Kornievskaia Fixes: 566fcec60 (NFSv4: Fix an atomicity problem in CLOSE) Signed-off-by: Anna Schumaker Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed