summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky2016-10-12 00:34:07 +0200
committerSteve French2016-10-14 02:48:59 +0200
commitde74025052ef63852d80a444ea19f2bdd7bec63f (patch)
tree472bb2dd2be1ffcb96d6a7edd25e1831ad32fcd9 /fs/cifs/cifsglob.h
parentCIFS: Fix persistent handles re-opening on reconnect (diff)
downloadkernel-qcow2-linux-de74025052ef63852d80a444ea19f2bdd7bec63f.tar.gz
kernel-qcow2-linux-de74025052ef63852d80a444ea19f2bdd7bec63f.tar.xz
kernel-qcow2-linux-de74025052ef63852d80a444ea19f2bdd7bec63f.zip
CIFS: Reset read oplock to NONE if we have mandatory locks after reopen
We are already doing the same thing for an ordinary open case: we can't keep read oplock on a file if we have mandatory byte-range locks because pagereading can conflict with these locks on a server. Fix it by setting oplock level to NONE. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
0 files changed, 0 insertions, 0 deletions