Trond Myklebust cd9288ffae 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>
2014-09-18 13:04:22 -04:00
..
2013-06-08 16:20:18 -04:00
2014-07-12 18:22:58 -04:00
2014-07-12 18:22:58 -04:00
2014-08-13 18:13:19 -06:00
2014-08-13 18:13:19 -06:00
2013-11-15 13:41:43 -05:00
2012-07-30 19:06:41 -04:00
2014-08-26 16:17:48 -04:00
2014-07-12 18:43:47 -04:00
2012-07-30 19:06:52 -04:00
2014-08-13 18:13:19 -06:00
2014-08-03 17:05:25 -04:00
2014-06-24 18:47:00 -04:00
2014-06-25 19:01:27 -04:00