summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_fs_sb.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2016-10-11 15:34:07 -0700
committerSteve French <smfrench@gmail.com>2016-10-13 19:48:59 -0500
commitde74025052ef63852d80a444ea19f2bdd7bec63f (patch)
tree472bb2dd2be1ffcb96d6a7edd25e1831ad32fcd9 /fs/cifs/cifs_fs_sb.h
parentf2cca6a7c99fdeadacd0bdc37d825c4bc2b03653 (diff)
downloadlinux-de74025052ef63852d80a444ea19f2bdd7bec63f.tar.gz
linux-de74025052ef63852d80a444ea19f2bdd7bec63f.tar.bz2
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/cifs_fs_sb.h')
0 files changed, 0 insertions, 0 deletions