git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11c2092
)
s3: GPFS can't deal with mangled names
author
Volker Lendecke
<vl@samba.org>
Thu, 24 Feb 2011 09:50:46 +0000
(
02:50
-0700)
committer
Volker Lendecke
<vl@samba.org>
Wed, 2 Mar 2011 10:03:39 +0000
(
03:03
-0700)
In getrealfilename, avoid calling the GPFS function
source3/modules/vfs_gpfs.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_gpfs.c
b/source3/modules/vfs_gpfs.c
index 4c86aa6983b9c1a58dbe43fe06240963fb5341fb..c8cc96eacf5530744c8166a0d1673e9f01ee1d35 100644
(file)
--- 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) {