Commit 5d352d3b by rfkelly0

proper error code for xattrs in expose.fuse

parent 2532c3da
...@@ -182,7 +182,7 @@ class FSOperations(Operations): ...@@ -182,7 +182,7 @@ class FSOperations(Operations):
raise UnsupportedError("getxattr") raise UnsupportedError("getxattr")
else: else:
if value is None: if value is None:
raise OSError(errno.ENOENT,"no attribute '%s'" % (name,)) raise OSError(errno.ENODATA,"no attribute '%s'" % (name,))
return value return value
@handle_fs_errors @handle_fs_errors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment