From 190ef2ee5006614615144ed46935d1f8267bd021 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Tue, 1 Mar 2011 03:59:48 +0000 Subject: syncdaemon: fortify handling of failed xtime queries Signed-off-by: Kaushik BV Signed-off-by: Vijay Bellur --- xlators/features/marker/utils/syncdaemon/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/marker/utils/syncdaemon/resource.py') 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 -- cgit