From 31bbdc3bee2b688b689d6981d8ed4c5b58f2d1fc Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Thu, 7 Jul 2016 20:33:44 +0200 Subject: [PATCH] Fix FUSE crash in xattr code on Linux introduced in 4d7b0f35 --- borg/fuse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/fuse.py b/borg/fuse.py index cc20511a3..bb507fc54 100644 --- a/borg/fuse.py +++ b/borg/fuse.py @@ -194,7 +194,7 @@ class FuseOperations(llfuse.Operations): try: return item.get(b'xattrs', {})[name] except KeyError: - raise llfuse.FUSEError(errno.ENOATTR) from None + raise llfuse.FUSEError(llfuse.ENOATTR) from None def _load_pending_archive(self, inode): # Check if this is an archive we need to load