summaryrefslogtreecommitdiffstats
path: root/xlators/lib/src
diff options
context:
space:
mode:
authorVenky Shankar <vshankar@redhat.com>2012-03-08 14:51:02 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-08 01:30:35 -0800
commit9ae2f79879b295639b55411c5339eba04e627345 (patch)
tree2f04ff0da26a89c0a3652259ce6ac55db085569c /xlators/lib/src
parent5fdd65f5f4f5df1d28b0fb4f7efed226d5db1b3c (diff)
xlator/lib: fix spurious STACK_UNWIND
Change-Id: If37eba97710fc79713f70c4117015d49f93ad137 BUG: 801285 Signed-off-by: Venky Shankar <vshankar@redhat.com> Reviewed-on: http://review.gluster.com/2898 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/lib/src')
-rw-r--r--xlators/lib/src/libxlator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/lib/src/libxlator.c b/xlators/lib/src/libxlator.c
index 68e028267e1..85b5f685e1b 100644
--- a/xlators/lib/src/libxlator.c
+++ b/xlators/lib/src/libxlator.c
@@ -188,7 +188,7 @@ out:
local->xl_specf_unwind (frame, op_ret,
op_errno, dict);
return 0;
- } else {
+ } else if (need_unwind) {
STACK_UNWIND_STRICT (getxattr, frame, op_ret, op_errno, dict);
}