summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/utils/syncdaemon/resource.py
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-03-01 03:59:48 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-11 00:34:58 -0800
commit190ef2ee5006614615144ed46935d1f8267bd021 (patch)
tree5c9b1e5020cac99684e1038a1009e57125f746d1 /xlators/features/marker/utils/syncdaemon/resource.py
parent3e95176263e31135039bc65b9aa510801af20d4d (diff)
syncdaemon: fortify handling of failed xtime queries
Signed-off-by: Kaushik BV <kaushikbv@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/resource.py')
-rw-r--r--xlators/features/marker/utils/syncdaemon/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py
index 59926782403..a56b6caa014 100644
--- a/xlators/features/marker/utils/syncdaemon/resource.py
+++ b/xlators/features/marker/utils/syncdaemon/resource.py
@@ -157,7 +157,7 @@ class Server(object):
return struct.unpack('!II', Xattr.lgetxattr(path, '.'.join([cls.GX_NSPACE, uuid, 'xtime']), 8))
except OSError:
ex = sys.exc_info()[1]
- if ex.errno in (ENOENT, ENODATA):
+ if ex.errno in (ENOENT, ENODATA, ENOTDIR):
return ex.errno
else:
raise