summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2016-02-24 13:58:16 -0800
committerMichael Adam <obnox@samba.org>2016-02-25 17:32:14 +0100
commit72333a685526f6ac5699f076c8dd0e0ecddd3a33 (patch)
tree4f3b849855c0384eb3065d7fa766572e1ec0c587 /source3/modules
parent0c61dd15137b4603bd47b3d6ae18ded6bd18ffae (diff)
downloadsamba-72333a685526f6ac5699f076c8dd0e0ecddd3a33.tar.gz
vfs:glusterfs: Fix mkdir_fn to take struct smb_filename * instead of char *
Missed in previous VFS change. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_glusterfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c
index 427b9852cbc..b3ee4208ee5 100644
--- a/source3/modules/vfs_glusterfs.c
+++ b/source3/modules/vfs_glusterfs.c
@@ -429,10 +429,11 @@ static void vfs_gluster_init_search_op(struct vfs_handle_struct *handle,
return;
}
-static int vfs_gluster_mkdir(struct vfs_handle_struct *handle, const char *path,
+static int vfs_gluster_mkdir(struct vfs_handle_struct *handle,
+ const struct smb_filename *smb_fname,
mode_t mode)
{
- return glfs_mkdir(handle->data, path, mode);
+ return glfs_mkdir(handle->data, smb_fname->base_name, mode);
}
static int vfs_gluster_rmdir(struct vfs_handle_struct *handle, const char *path)