mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: smbd: VFS change. Add new field bool posix_pathnames into struct smb_request.
Initialize from lp_posix_pathnames() global. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
This commit is contained in:
parent
cc729ae47d
commit
4587d83f07
@ -169,6 +169,7 @@
|
||||
/* Version 33 - Remove notify_watch_fn */
|
||||
/* Bump to version 34 - Samba 4.4 will ship with that */
|
||||
/* Version 34 - Remove bool posix_open, add uint64_t posix_flags */
|
||||
/* Version 34 - Added bool posix_pathnames to struct smb_request */
|
||||
|
||||
#define SMB_VFS_INTERFACE_VERSION 34
|
||||
|
||||
@ -464,6 +465,8 @@ struct smb_request {
|
||||
struct smb_request **chain;
|
||||
|
||||
struct timeval request_time;
|
||||
|
||||
bool posix_pathnames;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -629,6 +629,7 @@ static bool init_smb_request(struct smb_request *req,
|
||||
req->smb2req = NULL;
|
||||
req->priv_paths = NULL;
|
||||
req->chain = NULL;
|
||||
req->posix_pathnames = lp_posix_pathnames();
|
||||
smb_init_perfcount_data(&req->pcd);
|
||||
|
||||
/* Ensure we have at least wct words and 2 bytes of bcc. */
|
||||
|
Loading…
Reference in New Issue
Block a user