]> git.samba.org - samba.git/commit
smbd: rename is_stat_open() to is_oplock_stat_open()
authorRalph Boehme <slow@samba.org>
Thu, 5 Mar 2020 14:12:20 +0000 (15:12 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 30 Apr 2020 19:32:45 +0000 (19:32 +0000)
commit00001286e1d8bd583f676d380b9c335432b0f61d
tree74edadd45fcc5993bd39923a75ada773f6146573
parentaa3b3e18a7b59da2e0498f1f38bffef25757ebb1
smbd: rename is_stat_open() to is_oplock_stat_open()

Testing stat opens with with leases reveals that that the access mask

  SYNCHRONIZE_ACCESS | FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES

is specific to oplocks.

See also:

https://lists.samba.org/archive/cifs-protocol/2020-March/003409.html

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14357

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c
source3/smbd/proto.h