diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-01-05 16:21:52 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-02-04 03:53:33 -0800 |
commit | 92ab560f73299a1d5faf43a1a90516baa2ba275b (patch) | |
tree | d3340584d65067a5dd01a8538ab0d1ee9fd79170 /xlators/cluster/ec/src/ec-heal.c | |
parent | f397d7edb85c1e4b78c4cac176dc8a0afe8cf9a8 (diff) |
cluster/ec: Handle internal xattr get/set
Backport of http://review.gluster.org/9385
Problem:
Internal xattrs of EC like trusted.ec.size/config/version
can be modified by users and that can lead to misbehavior
in EC.
Fix:
Don't let the user modify the xattrs. Hide these xattrs
in getfattr outputs.
BUG: 1182490
Change-Id: Ie32ebb95ee67cabbb9488951097a517172b45bcf
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/9455
Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-heal.c')
0 files changed, 0 insertions, 0 deletions