1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

nfs4_acls: Make fstatat_with_cap_dac_override static

No other module is calling this function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15507

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
This commit is contained in:
Christof Schmitt
2023-11-09 12:37:25 -07:00
committed by Bjoern Jacke
parent 5fd73e93af
commit 8831eeca1d
2 changed files with 5 additions and 11 deletions

View File

@ -116,11 +116,11 @@ int smbacl4_get_vfs_params(struct connection_struct *conn,
return 0;
}
int fstatat_with_cap_dac_override(int fd,
const char *pathname,
SMB_STRUCT_STAT *sbuf,
int flags,
bool fake_dir_create_times)
static int fstatat_with_cap_dac_override(int fd,
const char *pathname,
SMB_STRUCT_STAT *sbuf,
int flags,
bool fake_dir_create_times)
{
int ret;

View File

@ -118,12 +118,6 @@ struct smbacl4_vfs_params {
int smbacl4_get_vfs_params(struct connection_struct *conn,
struct smbacl4_vfs_params *params);
int fstatat_with_cap_dac_override(int fd,
const char *pathname,
SMB_STRUCT_STAT *sbuf,
int flags,
bool fake_dir_create_times);
int stat_with_cap_dac_override(struct vfs_handle_struct *handle,
struct smb_filename *smb_fname, int flag);