mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
Remove redundant parameter fd from SMB_VFS_FCHMOD().
Michael
(This used to be commit a54d5604da
)
This commit is contained in:
@ -39,7 +39,7 @@ static int audit_rename(vfs_handle_struct *handle, const char *oldname, const ch
|
||||
static int audit_unlink(vfs_handle_struct *handle, const char *path);
|
||||
static int audit_chmod(vfs_handle_struct *handle, const char *path, mode_t mode);
|
||||
static int audit_chmod_acl(vfs_handle_struct *handle, const char *name, mode_t mode);
|
||||
static int audit_fchmod(vfs_handle_struct *handle, files_struct *fsp, int fd, mode_t mode);
|
||||
static int audit_fchmod(vfs_handle_struct *handle, files_struct *fsp, mode_t mode);
|
||||
static int audit_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, mode_t mode);
|
||||
|
||||
/* VFS operations */
|
||||
@ -268,11 +268,11 @@ static int audit_chmod_acl(vfs_handle_struct *handle, const char *path, mode_t m
|
||||
return result;
|
||||
}
|
||||
|
||||
static int audit_fchmod(vfs_handle_struct *handle, files_struct *fsp, int fd, mode_t mode)
|
||||
static int audit_fchmod(vfs_handle_struct *handle, files_struct *fsp, mode_t mode)
|
||||
{
|
||||
int result;
|
||||
|
||||
result = SMB_VFS_NEXT_FCHMOD(handle, fsp, fd, mode);
|
||||
result = SMB_VFS_NEXT_FCHMOD(handle, fsp, mode);
|
||||
|
||||
syslog(audit_syslog_priority(handle), "fchmod %s mode 0x%x %s%s\n",
|
||||
fsp->fsp_name, mode,
|
||||
|
Reference in New Issue
Block a user