summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/syncop.h
diff options
context:
space:
mode:
authorHumble Chirammal <hchiramm@redhat.com>2014-07-09 00:54:48 +0530
committerVijay Bellur <vbellur@redhat.com>2014-08-06 01:29:28 -0700
commit8111756d0f7ff8b7e92cbb4ddb3833f72830e0b3 (patch)
tree9d8dd30cbb36d8f844bfde5ffa58ea647b15ff8f /libglusterfs/src/syncop.h
parentef60640dfab44a53083a717bb4ee1386f8baad92 (diff)
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 <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/8266 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-by: soumya k <skoduri@redhat.com> Reviewed-by: Poornima G <pgurusid@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src/syncop.h')
-rw-r--r--libglusterfs/src/syncop.h2
1 files changed, 1 insertions, 1 deletions
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);