Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46bf36ec authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christoph Hellwig
Browse files

hfsplus: fix getxattr return value



We need to support -EOPNOTSUPP for attributes that are not supported to
match other filesystems and allow userspace to detect if Posix ACLs
are supported or not.  setxattr already gets this right.

Signed-off-by: default avatarChristoph Hellwig <hch@tuxera.com>
parent 32e39e19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ ssize_t hfsplus_getxattr(struct dentry *dentry, const char *name,
		} else
			res = size ? -ERANGE : 4;
	} else
		res = -ENODATA;
		res = -EOPNOTSUPP;
out:
	if (size)
		hfs_find_exit(&fd);