Trond Myklebust aee7af356e NFSv4: Fix problems with close in the presence of a delegation
In the presence of delegations, we can no longer assume that the
state->n_rdwr, state->n_rdonly, state->n_wronly reflect the open
stateid share mode, and so we need to calculate the initial value
for calldata->arg.fmode using the state->flags.

Reported-by: James Drews <drews@engr.wisc.edu>
Fixes: 88069f77e1ac5 (NFSv41: Fix a potential state leakage when...)
Cc: stable@vger.kernel.org # 2.6.33+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2014-08-26 16:17:48 -04:00
..
2013-06-08 16:20:18 -04:00
2014-08-13 18:13:19 -06: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-13 18:13:19 -06: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