From 43514de5c0bf498a774bb197e5ab8c0833e72b70 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Tue, 2 Oct 2012 15:07:01 -0700 Subject: syncop: fix symlink param make syncop_symlink() accept 'const char *linkname' instead of 'char *linkname' Change-Id: I7751d552e4a4cc6e8b8e587b9e520213f4e11b45 BUG: 839950 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/4020 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- libglusterfs/src/syncop.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libglusterfs/src/syncop.h') diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h index d10663f6..6e900e8d 100644 --- a/libglusterfs/src/syncop.h +++ b/libglusterfs/src/syncop.h @@ -253,7 +253,8 @@ int syncop_flush (xlator_t *subvol, fd_t *fd); int syncop_fstat (xlator_t *subvol, fd_t *fd, struct iatt *stbuf); int syncop_stat (xlator_t *subvol, loc_t *loc, struct iatt *stbuf); -int syncop_symlink (xlator_t *subvol, loc_t *loc, char *newpath, dict_t *dict); +int syncop_symlink (xlator_t *subvol, loc_t *loc, const char *newpath, + dict_t *dict); int syncop_readlink (xlator_t *subvol, loc_t *loc, char **buffer, size_t size); int syncop_mknod (xlator_t *subvol, loc_t *loc, mode_t mode, dev_t rdev, dict_t *dict); -- cgit