1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 09:47:58 +00:00

Merge pull request #1281 from enkore/fix/fuse-xattr-crash

Fix FUSE crash in xattr code on Linux
This commit is contained in:
TW 2016-07-07 21:13:47 +02:00 committed by GitHub
commit 1b921513da

View file

@ -194,7 +194,7 @@ def getxattr(self, inode, name, ctx=None):
try: try:
return item.get(b'xattrs', {})[name] return item.get(b'xattrs', {})[name]
except KeyError: except KeyError:
raise llfuse.FUSEError(errno.ENOATTR) from None raise llfuse.FUSEError(llfuse.ENOATTR) from None
def _load_pending_archive(self, inode): def _load_pending_archive(self, inode):
# Check if this is an archive we need to load # Check if this is an archive we need to load