mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
vfs_fruit: remove a layer of indirection
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
3919ea048f
commit
97d485ff2c
@ -1582,9 +1582,10 @@ exit:
|
||||
return ealen;
|
||||
}
|
||||
|
||||
static int ad_open_rsrc_adouble(const struct smb_filename *smb_fname,
|
||||
int flags,
|
||||
mode_t mode)
|
||||
static int ad_open_rsrc(vfs_handle_struct *handle,
|
||||
const struct smb_filename *smb_fname,
|
||||
int flags,
|
||||
mode_t mode)
|
||||
{
|
||||
int ret;
|
||||
int fd;
|
||||
@ -1601,14 +1602,6 @@ static int ad_open_rsrc_adouble(const struct smb_filename *smb_fname,
|
||||
return fd;
|
||||
}
|
||||
|
||||
static int ad_open_rsrc(vfs_handle_struct *handle,
|
||||
const struct smb_filename *smb_fname,
|
||||
int flags,
|
||||
mode_t mode)
|
||||
{
|
||||
return ad_open_rsrc_adouble(smb_fname, flags, mode);
|
||||
}
|
||||
|
||||
/*
|
||||
* Here's the deal: for ADOUBLE_META we can do without an fd as we can issue
|
||||
* path based xattr calls. For ADOUBLE_RSRC however we need a full-fledged fd
|
||||
|
Loading…
x
Reference in New Issue
Block a user