From: Volker Lendecke Date: Thu, 24 Feb 2011 09:50:46 +0000 (-0700) Subject: s3: GPFS can't deal with mangled names X-Git-Url: http://git.samba.org/?p=obnox%2Fsamba-ctdb.git;a=commitdiff_plain;h=fb5552e0aadc537b527673a7b6da59974e34253a s3: GPFS can't deal with mangled names In getrealfilename, avoid calling the GPFS function --- diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 4c86aa6983..c8cc96eacf 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -91,6 +91,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) {