mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
vfs_fruit: avoid using 'conn->tcon->compat', we can just use 'conn'!
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Apr 12 13:51:50 UTC 2023 on atb-devel-224
This commit is contained in:
parent
e0e58ed0e2
commit
52c78466bd
@ -849,7 +849,7 @@ static NTSTATUS check_aapl(vfs_handle_struct *handle,
|
||||
|
||||
if (req_bitmap & SMB2_CRTCTX_AAPL_SERVER_CAPS) {
|
||||
if ((client_caps & SMB2_CRTCTX_AAPL_SUPPORTS_READ_DIR_ATTR) &&
|
||||
(handle->conn->tcon->compat->fs_capabilities & FILE_NAMED_STREAMS)) {
|
||||
(handle->conn->fs_capabilities & FILE_NAMED_STREAMS)) {
|
||||
server_caps |= SMB2_CRTCTX_AAPL_SUPPORTS_READ_DIR_ATTR;
|
||||
config->readdir_attr_enabled = true;
|
||||
}
|
||||
@ -875,7 +875,7 @@ static NTSTATUS check_aapl(vfs_handle_struct *handle,
|
||||
}
|
||||
|
||||
if (req_bitmap & SMB2_CRTCTX_AAPL_VOLUME_CAPS) {
|
||||
int val = lp_case_sensitive(SNUM(handle->conn->tcon->compat));
|
||||
int val = lp_case_sensitive(SNUM(handle->conn));
|
||||
uint64_t caps = 0;
|
||||
|
||||
switch (val) {
|
||||
|
Loading…
Reference in New Issue
Block a user