diff options
Diffstat (limited to 'source3/modules/vfs_glusterfs.c')
-rw-r--r-- | source3/modules/vfs_glusterfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c index 2528959d968..833f093ac42 100644 --- a/source3/modules/vfs_glusterfs.c +++ b/source3/modules/vfs_glusterfs.c @@ -1070,9 +1070,10 @@ static int vfs_gluster_lchown(struct vfs_handle_struct *handle, return glfs_lchown(handle->data, smb_fname->base_name, uid, gid); } -static int vfs_gluster_chdir(struct vfs_handle_struct *handle, const char *path) +static int vfs_gluster_chdir(struct vfs_handle_struct *handle, + const struct smb_filename *smb_fname) { - return glfs_chdir(handle->data, path); + return glfs_chdir(handle->data, smb_fname->base_name); } static char *vfs_gluster_getwd(struct vfs_handle_struct *handle) |