vfs_fruit: remove a layer of indirection
[metze/samba/wip.git] / source3 / modules / vfs_fruit.c
index 876a7100cf8da308127141da6f44b463a06e0c68..128ad4bd227334764d97564700a58c8fe46f5391 100644 (file)
@@ -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