summaryrefslogtreecommitdiff
path: root/fs/quota
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@netapp.com>2015-03-02 21:46:09 (GMT)
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-03-02 23:06:42 (GMT)
commit369d6b7f00977eb9090212d4a47ac71f3ec5c217 (patch)
treea4185c4f13e62871747b08ac28bcb42c8a86b87f /fs/quota
parent7c0af9ffb7bb4e5355470fa60b3eb711ddf226fa (diff)
downloadlinux-369d6b7f00977eb9090212d4a47ac71f3ec5c217.tar.xz
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 <kolga@netapp.com> Fixes: 566fcec60 (NFSv4: Fix an atomicity problem in CLOSE) Signed-off-by: Anna Schumaker <Anna.Schumaker@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions