summaryrefslogtreecommitdiffstats
path: root/kernel/watchdog.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-08-25 22:33:12 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-08-26 16:17:48 -0400
commitaee7af356e151494d5014f57b33460b162f181b5 (patch)
treec551c93d552db5b2992043d1c68404f7dd907df1 /kernel/watchdog.c
parent52addcf9d6669fa439387610bc65c92fa0980cef (diff)
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>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions