diff options
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 8fbea0c4f3..848440809c 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -649,17 +649,15 @@ static int vfswrap_lstat(vfs_handle_struct *handle, return result; } -static NTSTATUS vfswrap_translate_name(vfs_handle_struct *handle, - char **mapped_name, - enum vfs_translate_direction direction) +static NTSTATUS vfswrap_translate_name(struct vfs_handle_struct *handle, + const char *name, + enum vfs_translate_direction direction, + TALLOC_CTX *mem_ctx, + char **mapped_name) { - /* Default behavior is a NOOP */ - - if (*mapped_name != NULL) - return NT_STATUS_OK; - - return NT_STATUS_INVALID_PARAMETER; + return NT_STATUS_NONE_MAPPED; } + /******************************************************************** Given a stat buffer return the allocated size on disk, taking into account sparse files. |