1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

smbd: Remove "atname" from smbd_dirptr_get_entry()'s mode_fn

Unused.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2023-06-24 10:02:05 +02:00
parent 88f32b783c
commit e4422b2ff3
4 changed files with 0 additions and 5 deletions

View File

@ -520,7 +520,6 @@ bool smbd_dirptr_get_entry(TALLOC_CTX *ctx,
bool (*mode_fn)(TALLOC_CTX *ctx,
void *private_data,
struct files_struct *dirfsp,
struct smb_filename *atname,
struct smb_filename *smb_fname,
bool get_dosmode,
uint32_t *_mode),
@ -759,7 +758,6 @@ bool smbd_dirptr_get_entry(TALLOC_CTX *ctx,
ok = mode_fn(ctx,
private_data,
dir_hnd->fsp,
NULL,
smb_fname,
get_dosmode,
&mode);

View File

@ -174,7 +174,6 @@ bool smbd_dirptr_get_entry(TALLOC_CTX *ctx,
bool (*mode_fn)(TALLOC_CTX *ctx,
void *private_data,
struct files_struct *dirfsp,
struct smb_filename *atname,
struct smb_filename *smb_fname,
bool get_dosmode,
uint32_t *_mode),

View File

@ -1202,7 +1202,6 @@ static bool smbd_dirptr_8_3_match_fn(TALLOC_CTX *ctx,
static bool smbd_dirptr_8_3_mode_fn(TALLOC_CTX *ctx,
void *private_data,
struct files_struct *dirfsp,
struct smb_filename *atname,
struct smb_filename *smb_fname,
bool get_dosmode,
uint32_t *_mode)

View File

@ -1010,7 +1010,6 @@ static bool smbd_dirptr_lanman2_match_fn(TALLOC_CTX *ctx,
static bool smbd_dirptr_lanman2_mode_fn(TALLOC_CTX *ctx,
void *private_data,
struct files_struct *dirfsp,
struct smb_filename *atname,
struct smb_filename *smb_fname,
bool get_dosmode,
uint32_t *_mode)