1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

nfs4_acls: Make fstat_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:39:57 -07:00 committed by Bjoern Jacke
parent 0f664f0162
commit bffd8bd8c3
2 changed files with 2 additions and 5 deletions

View File

@ -192,8 +192,8 @@ int nfs4_acl_stat(struct vfs_handle_struct *handle,
return ret;
}
int fstat_with_cap_dac_override(int fd, SMB_STRUCT_STAT *sbuf,
bool fake_dir_create_times)
static int fstat_with_cap_dac_override(int fd, SMB_STRUCT_STAT *sbuf,
bool fake_dir_create_times)
{
int ret;

View File

@ -121,9 +121,6 @@ int smbacl4_get_vfs_params(struct connection_struct *conn,
int nfs4_acl_stat(struct vfs_handle_struct *handle,
struct smb_filename *smb_fname);
int fstat_with_cap_dac_override(int fd, SMB_STRUCT_STAT *sbuf,
bool fake_dir_create_times);
int nfs4_acl_fstat(struct vfs_handle_struct *handle,
struct files_struct *fsp,
SMB_STRUCT_STAT *sbuf);