diff options
author | Humble Chirammal <hchiramm@redhat.com> | 2014-07-09 00:54:48 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-08-06 01:29:28 -0700 |
commit | 8111756d0f7ff8b7e92cbb4ddb3833f72830e0b3 (patch) | |
tree | 9d8dd30cbb36d8f844bfde5ffa58ea647b15ff8f /libglusterfs/src/fd-lk.c | |
parent | ef60640dfab44a53083a717bb4ee1386f8baad92 (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/fd-lk.c')
-rw-r--r-- | libglusterfs/src/fd-lk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/fd-lk.c b/libglusterfs/src/fd-lk.c index caf2bb38e51..3c1befea966 100644 --- a/libglusterfs/src/fd-lk.c +++ b/libglusterfs/src/fd-lk.c @@ -311,7 +311,7 @@ _fd_lk_sub_locks (struct _values *v, v->locks[2]->fl_end); } else if (small->fl_start == big->fl_start) { /* One of the ends co-incide, break the - locks into two seperate parts */ + locks into two separate parts */ v->locks[0] = fd_lk_ctx_node_new (small->cmd, NULL); if (!v->locks[0]) goto out; @@ -327,7 +327,7 @@ _fd_lk_sub_locks (struct _values *v, v->locks[1]->user_flock.l_start = small->fl_end + 1; } else if (small->fl_end == big->fl_end) { /* One of the ends co-incide, break the - locks into two seperate parts */ + locks into two separate parts */ v->locks[0] = fd_lk_ctx_node_new (small->cmd, NULL); if (!v->locks[0]) goto out; |