From: Volker Lendecke Date: Thu, 25 Jul 2019 14:22:51 +0000 (+0200) Subject: smbd: Remove "share_access" from fcb_or_dos_open() X-Git-Tag: tdb-1.4.2~291 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef0cf081603b4f23c7fcdbde1ac6be7b7fd58a48;p=thirdparty%2Fsamba.git smbd: Remove "share_access" from fcb_or_dos_open() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 87836244222..d01b39a5538 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2305,7 +2305,6 @@ void reply_open(struct smb_request *req) req, smb_fname, access_mask, - share_mode, create_options, private_flags); if (fsp == NULL) { @@ -2493,7 +2492,6 @@ void reply_open_and_X(struct smb_request *req) req, smb_fname, access_mask, - share_mode, create_options, private_flags); if (fsp == NULL) { diff --git a/source3/smbd/smb1_utils.c b/source3/smbd/smb1_utils.c index 89290b25535..75bc16e1cc7 100644 --- a/source3/smbd/smb1_utils.c +++ b/source3/smbd/smb1_utils.c @@ -32,7 +32,6 @@ struct files_struct *fcb_or_dos_open( struct smb_request *req, const struct smb_filename *smb_fname, uint32_t access_mask, - uint32_t share_access, uint32_t create_options, uint32_t private_flags) { diff --git a/source3/smbd/smb1_utils.h b/source3/smbd/smb1_utils.h index 719eb3eb3a2..71f0c6d3ee6 100644 --- a/source3/smbd/smb1_utils.h +++ b/source3/smbd/smb1_utils.h @@ -30,7 +30,6 @@ struct files_struct *fcb_or_dos_open( struct smb_request *req, const struct smb_filename *smb_fname, uint32_t access_mask, - uint32_t share_access, uint32_t create_options, uint32_t private_flags); diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 41f8dac13f0..73515062729 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1451,7 +1451,6 @@ static void call_trans2open(connection_struct *conn, req, smb_fname, access_mask, - share_mode, create_options, private_flags); if (fsp == NULL) {