mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
s3: GPFS can't deal with mangled names
In getrealfilename, avoid calling the GPFS function
This commit is contained in:
parent
8870fcb154
commit
358f031ccf
@ -117,6 +117,13 @@ static int vfs_gpfs_get_real_filename(struct vfs_handle_struct *handle,
|
||||
char *full_path;
|
||||
char real_pathname[PATH_MAX+1];
|
||||
int buflen;
|
||||
bool mangled;
|
||||
|
||||
mangled = mangle_is_mangled(name, handle->conn->params);
|
||||
if (mangled) {
|
||||
return SMB_VFS_NEXT_GET_REAL_FILENAME(handle, path, name,
|
||||
mem_ctx, found_name);
|
||||
}
|
||||
|
||||
full_path = talloc_asprintf(talloc_tos(), "%s/%s", path, name);
|
||||
if (full_path == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user