static int fruit_open_meta_stream(vfs_handle_struct *handle,
const struct files_struct *dirfsp,
- struct smb_filename *smb_fname,
+ const struct smb_filename *smb_fname,
files_struct *fsp,
int flags,
mode_t mode)
static int fruit_open_meta_netatalk(vfs_handle_struct *handle,
const struct files_struct *dirfsp,
- struct smb_filename *smb_fname,
+ const struct smb_filename *smb_fname,
files_struct *fsp,
int flags,
mode_t mode)
static int fruit_open_meta(vfs_handle_struct *handle,
const struct files_struct *dirfsp,
- struct smb_filename *smb_fname,
+ const struct smb_filename *smb_fname,
files_struct *fsp, int flags, mode_t mode)
{
int fd;
static int fruit_open_rsrc_adouble(vfs_handle_struct *handle,
const struct files_struct *dirfsp,
- struct smb_filename *smb_fname,
+ const struct smb_filename *smb_fname,
files_struct *fsp,
int flags,
mode_t mode)
static int fruit_open_rsrc_xattr(vfs_handle_struct *handle,
const struct files_struct *dirfsp,
- struct smb_filename *smb_fname,
+ const struct smb_filename *smb_fname,
files_struct *fsp,
int flags,
mode_t mode)
static int fruit_open_rsrc(vfs_handle_struct *handle,
const struct files_struct *dirfsp,
- struct smb_filename *smb_fname,
+ const struct smb_filename *smb_fname,
files_struct *fsp, int flags, mode_t mode)
{
int fd;
static int fruit_openat(vfs_handle_struct *handle,
const struct files_struct *dirfsp,
- const struct smb_filename *smb_fname_in,
+ const struct smb_filename *smb_fname,
files_struct *fsp,
int flags,
mode_t mode)
{
int fd;
- /* FIXME - leaks on talloc_tos(). Fix when SMB_VFS_OPEN() is gone. */
- struct smb_filename *smb_fname = cp_smb_filename(talloc_tos(),
- smb_fname_in);
-
- if (smb_fname == NULL) {
- return -1;
- }
- /* END FIXME. */
DBG_DEBUG("Path [%s]\n", smb_fname_str_dbg(smb_fname));