diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2016-01-14 09:36:33 +0100 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-02-05 07:02:00 -0800 |
commit | 0aba36ab99fbf537ba2e5ceddfc950528506011f (patch) | |
tree | 0334024b87ab41f8a240824c7432b67e4f71b854 /xlators/mgmt/glusterd | |
parent | 4bde0b3db0e1f8fcbc782e29be2f2eb9e6d4c2fd (diff) |
cluster/ec: Handle non-existent config xattr for non regular files
Since we now try to get the 'trusted.ec.config' xattr for inodes of
type IA_INVAL (these inodes will be set to some valid type later),
if that inode corresponds to a non regular file, the xattr won't
exist and we will handle this as an error when it's not.
This patch solves the problem by only considering errors for inodes
that are already known to be regular files.
Change-Id: Id72f314e209459236d75cf087fc51e09943756b4
BUG: 1293223
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: http://review.gluster.org/13238
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Ashish Pandey <aspandey@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
0 files changed, 0 insertions, 0 deletions