diff options
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 0aba405c374..4f86537c031 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -112,9 +112,11 @@ static int vfswrap_get_shadow_copy_data(struct vfs_handle_struct *handle, return -1; /* Not implemented. */ } -static int vfswrap_statvfs(struct vfs_handle_struct *handle, const char *path, vfs_statvfs_struct *statbuf) +static int vfswrap_statvfs(struct vfs_handle_struct *handle, + const struct smb_filename *smb_fname, + vfs_statvfs_struct *statbuf) { - return sys_statvfs(path, statbuf); + return sys_statvfs(smb_fname->base_name, statbuf); } static uint32_t vfswrap_fs_capabilities(struct vfs_handle_struct *handle, |