summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-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);
}