1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

vfs:ceph: Fix mkdir_fn to take struct smb_filename * insted of char *

Missed in previous VFS change.

Signed-off-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Jeremy Allison
2016-02-24 14:00:27 -08:00
committed by Michael Adam
parent 72333a6855
commit de2bc1bc38

View File

@ -326,11 +326,14 @@ static void cephwrap_rewinddir(struct vfs_handle_struct *handle, DIR *dirp)
ceph_rewinddir(handle->data, (struct ceph_dir_result *) dirp);
}
static int cephwrap_mkdir(struct vfs_handle_struct *handle, const char *path, mode_t mode)
static int cephwrap_mkdir(struct vfs_handle_struct *handle,
const struct smb_filename *smb_fname,
mode_t mode)
{
int result;
bool has_dacl = False;
char *parent = NULL;
const char *path = smb_fname->base_name;
DEBUG(10, ("[CEPH] mkdir(%p, %s)\n", handle, path));