diff options
| author | Anna Schumaker <[email protected]> | 2015-03-02 21:46:09 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2015-03-02 23:06:42 +0000 |
| commit | 369d6b7f00977eb9090212d4a47ac71f3ec5c217 (patch) | |
| tree | a4185c4f13e62871747b08ac28bcb42c8a86b87f /net/switchdev/switchdev.c | |
| parent | NFSv4: Don't call put_rpccred() under the rcu_read_lock() (diff) | |
| download | kernel-369d6b7f00977eb9090212d4a47ac71f3ec5c217.tar.gz kernel-369d6b7f00977eb9090212d4a47ac71f3ec5c217.zip | |
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 <[email protected]>
Fixes: 566fcec60 (NFSv4: Fix an atomicity problem in CLOSE)
Signed-off-by: Anna Schumaker <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
