[PATCH] vfs: Fix the vfs_gpfs build

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Mar 3 16:20:27 UTC 2016


Hi!

Review appreciated! (if it's not already on its way...)

Thanks, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From db08ab6beebb91d166e6527d66aeed353604c3b2 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Thu, 3 Mar 2016 17:19:18 +0100
Subject: [PATCH] vfs: Fix the vfs_gpfs build

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/modules/vfs_gpfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index af7fd17..cc17d2a 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -1403,7 +1403,7 @@ static int vfs_gpfs_chmod(vfs_handle_struct *handle,
 	struct smb_filename *smb_fname_cpath;
 	int rc;
 
-	smb_fname_cpath = cp_smb_fname(talloc_tos(), smb_fname);
+	smb_fname_cpath = cp_smb_filename(talloc_tos(), smb_fname);
 	if (smb_fname_cpath == NULL) {
 		errno = ENOMEM;
 		return -1;
-- 
1.7.9.5



More information about the samba-technical mailing list