summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_fruit.c
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-05-23 08:27:37 +0200
committerJeremy Allison <jra@samba.org>2019-05-30 20:19:27 +0000
commit97d485ff2cda85edeba163ea01b6abfa705db20f (patch)
treec918c26aed099ad112c83b20e2b915811786d43f /source3/modules/vfs_fruit.c
parent3919ea048fe3b763657e14cdfb5920184a900d27 (diff)
downloadsamba-97d485ff2cda85edeba163ea01b6abfa705db20f.tar.gz
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>
Diffstat (limited to 'source3/modules/vfs_fruit.c')
-rw-r--r--source3/modules/vfs_fruit.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c
index 876a7100cf8..128ad4bd227 100644
--- a/source3/modules/vfs_fruit.c
+++ b/source3/modules/vfs_fruit.c
@@ -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