diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-18 19:51:32 +0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-18 21:04:22 +0400 |
commit | cd9288ffaea4359d5cfe2b8d264911506aed26a4 (patch) | |
tree | 82bddbe31030ef1c460d0df957afb55ff1d99283 /fs/nfs/client.c | |
parent | 080af20cc945d110f9912d01cf6b66f94a375b8d (diff) | |
download | linux-cd9288ffaea4359d5cfe2b8d264911506aed26a4.tar.xz |
NFSv4: Fix another bug in the close/open_downgrade code
James Drew reports another bug whereby the NFS client is now sending
an OPEN_DOWNGRADE in a situation where it should really have sent a
CLOSE: the client is opening the file for O_RDWR, but then trying to
do a downgrade to O_RDONLY, which is not allowed by the NFSv4 spec.
Reported-by: James Drews <drews@engr.wisc.edu>
Link: http://lkml.kernel.org/r/541AD7E5.8020409@engr.wisc.edu
Fixes: aee7af356e15 (NFSv4: Fix problems with close in the presence...)
Cc: stable@vger.kernel.org # 2.6.33+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/client.c')
0 files changed, 0 insertions, 0 deletions