From 8111756d0f7ff8b7e92cbb4ddb3833f72830e0b3 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Wed, 9 Jul 2014 00:54:48 +0530 Subject: libglusterfs: wrong function definition of synclock_destory(). synclock_destory() has been prototyped in syncop.h, how-ever synclock_destroy() is the actual function used in syncop.c. Correcting this function definition along with few typos. Change-Id: I35a818190c1d37c303279ca7a820f01895751bd9 BUG: 1075417 Signed-off-by: Humble Chirammal Reviewed-on: http://review.gluster.org/8266 Tested-by: Gluster Build System Reviewed-by: Raghavendra Talur Reviewed-by: soumya k Reviewed-by: Poornima G Reviewed-by: Vijay Bellur --- libglusterfs/src/syncop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/syncop.h') diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h index 16f3833ba82..1a52af7833a 100644 --- a/libglusterfs/src/syncop.h +++ b/libglusterfs/src/syncop.h @@ -327,7 +327,7 @@ syncop_create_frame (xlator_t *this) } int synclock_init (synclock_t *lock); -int synclock_destory (synclock_t *lock); +int synclock_destroy (synclock_t *lock); int synclock_lock (synclock_t *lock); int synclock_trylock (synclock_t *lock); int synclock_unlock (synclock_t *lock); -- cgit