mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +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> (cherry picked from commit 8831eeca1d70c909e15c86c8af6a7b1d7b0d3b5b)
This commit is contained in:
parent
3241127482
commit
6090ebfa5c
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user