summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2016-10-12 00:34:07 +0200
committerSteve French <smfrench@gmail.com>2016-10-14 02:48:59 +0200
commitde74025052ef63852d80a444ea19f2bdd7bec63f (patch)
tree472bb2dd2be1ffcb96d6a7edd25e1831ad32fcd9 /kernel/profile.c
parentCIFS: Fix persistent handles re-opening on reconnect (diff)
downloadlinux-de74025052ef63852d80a444ea19f2bdd7bec63f.tar.xz
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 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions