Return value of generic xattr operations

From: Marco Stornelli
Date: Sun Dec 26 2010 - 08:57:27 EST


Hi,

is it right that generic_setxattr & co. return -EOPNOTSUPP if there is a
namespace error? I mean, if the user try to set <my own namespace>.foo
attribute, the return value should be -EINVAL, isn't it? Operation not
supported means that extended attributes are not enabled or not
implemented by the fs. The man pages are not much clear about this
point. What do you think?

Marco
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/