Re: Return value of generic xattr operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 26, 2010 at 2:53 PM, Marco Stornelli
<marco.stornelli@xxxxxxxxx> wrote:
> 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

Why?
There are multiple errors and only one can be returned.

> 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?

Olaf
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux