We currently only ever pass SMB2_LEASE_READ and both
have the same value of 0x1, so for now it's only cosmetic,
but that will change soon.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15148
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
if (granted & SMB2_LEASE_READ) {
uint32_t acc, sh, ls;
share_mode_flags_get(lck, &acc, &sh, &ls);
- ls |= SHARE_MODE_LEASE_READ;
+ ls |= SMB2_LEASE_READ;
share_mode_flags_set(lck, acc, sh, ls, NULL);
}
*/
uint32_t acc, sh, ls;
share_mode_flags_get(lck, &acc, &sh, &ls);
- ls &= ~SHARE_MODE_LEASE_READ;
+ ls &= ~SMB2_LEASE_READ;
share_mode_flags_set(lck, acc, sh, ls, NULL);
}