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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/syncop.c') diff --git a/libglusterfs/src/syncop.c b/libglusterfs/src/syncop.c index 7dbaac6f..07823ccb 100644 --- a/libglusterfs/src/syncop.c +++ b/libglusterfs/src/syncop.c @@ -1465,7 +1465,7 @@ syncop_symlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this, } int -syncop_symlink (xlator_t *subvol, loc_t *loc, char *newpath, dict_t *dict) +syncop_symlink (xlator_t *subvol, loc_t *loc, const char *newpath, dict_t *dict) { struct syncargs args = {0, }; -- cgit