From 41d3605fab2f0ce8c8b4c5d976fc1a013c823e3d Mon Sep 17 00:00:00 2001 From: Shylesh Kumar Date: Mon, 13 Aug 2012 12:10:38 +0530 Subject: cluster/stripe: Filter coalesce xattr from getfattr Change-Id: I1c5740e29699ef464a3d30365396711f03c24974 Signed-off-by: Shylesh Kumar BUG: 801887 Reviewed-on: http://review.gluster.com/3809 Tested-by: Gluster Build System Reviewed-by: Shishir Gowda --- xlators/cluster/stripe/src/stripe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index 932e907dcce..d836d639228 100644 --- a/xlators/cluster/stripe/src/stripe.c +++ b/xlators/cluster/stripe/src/stripe.c @@ -4551,6 +4551,7 @@ stripe_internal_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this, char size_key[256] = {0,}; char index_key[256] = {0,}; char count_key[256] = {0,}; + char coalesce_key[256] = {0,}; VALIDATE_OR_GOTO (frame, out); VALIDATE_OR_GOTO (frame->local, out); @@ -4561,10 +4562,12 @@ stripe_internal_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this, sprintf (size_key, "trusted.%s.stripe-size", this->name); sprintf (count_key, "trusted.%s.stripe-count", this->name); sprintf (index_key, "trusted.%s.stripe-index", this->name); + sprintf (coalesce_key, "trusted.%s.stripe-coalesce", this->name); dict_del (xattr, size_key); dict_del (xattr, count_key); dict_del (xattr, index_key); + dict_del (xattr, coalesce_key); out: STRIPE_STACK_UNWIND (getxattr, frame, op_ret, op_errno, xattr, xdata); -- cgit