diff options
| -rw-r--r-- | xlators/features/marker/utils/syncdaemon/resource.py | 7 | 
1 files changed, 1 insertions, 6 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py index d1a51ecb06f..55c6e4dd78b 100644 --- a/xlators/features/marker/utils/syncdaemon/resource.py +++ b/xlators/features/marker/utils/syncdaemon/resource.py @@ -157,12 +157,7 @@ class Server(object):      @classmethod      def set_xtime(cls, path, uuid, mark): -	try: -	    Xattr.lsetxattr(path, '.'.join([cls.GX_NSPACE, uuid, 'xtime']), struct.pack('!II', *mark)) -	except OSError: -	    ex = sys.exc_info()[1] -	    if ex.errno == ENOENT: -		logging.error ("File for which the setxattr to be done is not present") +        Xattr.lsetxattr(path, '.'.join([cls.GX_NSPACE, uuid, 'xtime']), struct.pack('!II', *mark))      @staticmethod      def setattr(path, adct):  | 
