summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/entrylk.c
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-10-05 05:38:09 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-05 05:16:58 -0700
commitf719a641841a2bbd6f59945e5e32350cfe89f814 (patch)
treec941c39d5e4731ba95716b056eae267ef49a5fd1 /xlators/features/locks/src/entrylk.c
parent965b74d7d6faeebb17f580cefcadca15dece3b08 (diff)
features/locks: Change STACK_UNWIND to STACK_UNWIND_STRICT.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 269 (Add a specialized STACK_UNWIND macro for each FOP) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=269
Diffstat (limited to 'xlators/features/locks/src/entrylk.c')
-rw-r--r--xlators/features/locks/src/entrylk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/locks/src/entrylk.c b/xlators/features/locks/src/entrylk.c
index 383335977..cb6a150f8 100644
--- a/xlators/features/locks/src/entrylk.c
+++ b/xlators/features/locks/src/entrylk.c
@@ -360,7 +360,7 @@ grant_blocked_entry_locks (xlator_t *this, pl_inode_t *pl_inode,
list_for_each_entry_safe (lock, tmp, &granted_list, blocked_locks) {
list_del_init (&lock->blocked_locks);
- STACK_UNWIND (lock->frame, 0, 0);
+ STACK_UNWIND_STRICT (entrylk, lock->frame, 0, 0);
FREE (lock->basename);
FREE (lock);
@@ -417,7 +417,7 @@ unlock:
list_for_each_entry_safe (lock, tmp, &granted, blocked_locks) {
list_del_init (&lock->blocked_locks);
- STACK_UNWIND (lock->frame, 0, 0);
+ STACK_UNWIND_STRICT (entrylk, lock->frame, 0, 0);
if (lock->basename)
FREE (lock->basename);
@@ -535,7 +535,7 @@ pl_common_entrylk (call_frame_t *frame, xlator_t *this,
op_ret = 0;
out:
if (unwind) {
- STACK_UNWIND (frame, op_ret, op_errno);
+ STACK_UNWIND_STRICT (entrylk, frame, op_ret, op_errno);
}
return 0;