[Pkg-samba-maint] [samba] 16/29: vfs: Fix some build warnings in glusterfs.
Jelmer Vernooij
jelmer at moszumanska.debian.org
Fri Dec 6 23:16:45 UTC 2013
This is an automated email from the git hooks/post-receive script.
jelmer pushed a commit to branch samba_4.1
in repository samba.
commit 5cc42acbea2657ff712ce9e91ffbf81d86a371f5
Author: Andreas Schneider <asn at samba.org>
Date: Mon Nov 4 12:32:05 2013 +0100
vfs: Fix some build warnings in glusterfs.
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: David Disseldorp <ddiss at samba.org>
(cherry picked from commit d35d6a2dfa92512049e762d7abc319c67118e705)
The last 2 patches address bug #10253 - Include vfs_glusterfs build fix patches
in Samba 4.1.
---
source3/modules/vfs_glusterfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c
index c944276..e5c691e 100644
--- a/source3/modules/vfs_glusterfs.c
+++ b/source3/modules/vfs_glusterfs.c
@@ -1300,7 +1300,7 @@ static SMB_ACL_T vfs_gluster_sys_acl_get_file(struct vfs_handle_struct *handle,
{
struct smb_acl_t *result;
char *buf;
- char *key;
+ const char *key;
ssize_t ret;
switch (type) {
@@ -1363,7 +1363,7 @@ static int vfs_gluster_sys_acl_set_file(struct vfs_handle_struct *handle,
SMB_ACL_T theacl)
{
int ret;
- char *key;
+ const char *key;
char *buf;
ssize_t size;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git
More information about the Pkg-samba-maint
mailing list