summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-07-19 07:43:08 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-20 09:46:13 -0700
commita3ed6014101d2bc3904041c1c7a062cdf6bdf7d7 (patch)
treec27fab61c6ae9b8814199f99205091172d230a54
parent00b18468235259e7813be53d758facf55c4ee28b (diff)
encryption/ features/quota change STACK_UNWIND to STACK_UNWIND_STRICT
Signed-off-by: shishir gowda <shishirng@gluster.com> 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
-rw-r--r--xlators/encryption/rot-13/src/rot-13.c4
-rw-r--r--xlators/features/quota/src/quota.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/xlators/encryption/rot-13/src/rot-13.c b/xlators/encryption/rot-13/src/rot-13.c
index a19ef5deadf..a334b669df0 100644
--- a/xlators/encryption/rot-13/src/rot-13.c
+++ b/xlators/encryption/rot-13/src/rot-13.c
@@ -75,7 +75,7 @@ rot13_readv_cbk (call_frame_t *frame,
if (priv->decrypt_read)
rot13_iovec (vector, count);
- STACK_UNWIND (frame, op_ret, op_errno, vector, count, stbuf, iobref);
+ STACK_UNWIND_STRICT (readv, frame, op_ret, op_errno, vector, count, stbuf, iobref);
return 0;
}
@@ -103,7 +103,7 @@ rot13_writev_cbk (call_frame_t *frame,
struct iatt *prebuf,
struct iatt *postbuf)
{
- STACK_UNWIND (frame, op_ret, op_errno, prebuf, postbuf);
+ STACK_UNWIND_STRICT (writev, frame, op_ret, op_errno, prebuf, postbuf);
return 0;
}
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index a4266a32a85..6d1d195b8ec 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -988,7 +988,9 @@ quota_lookup_cbk (call_frame_t *frame,
dict_t *dict,
struct iatt *postparent)
{
- STACK_UNWIND (frame,
+ STACK_UNWIND_STRICT (
+ lookup,
+ frame,
op_ret,
op_errno,
inode,