linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Olaf van der Spek <olafvdspek@gmail.com>
To: Marco Stornelli <marco.stornelli@gmail.com>
Cc: Linux FS Devel <linux-fsdevel@vger.kernel.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Return value of generic xattr operations
Date: Sun, 26 Dec 2010 22:15:35 +0100	[thread overview]
Message-ID: <AANLkTik71N=OJOD5MvvBitUQM4C42-Q8HSrBc8NiBuSc@mail.gmail.com> (raw)
In-Reply-To: <4D1748D4.5050700@gmail.com>

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

  reply	other threads:[~2010-12-26 21:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-26 13:53 Return value of generic xattr operations Marco Stornelli
2010-12-26 21:15 ` Olaf van der Spek [this message]
2010-12-27  8:38   ` Marco Stornelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTik71N=OJOD5MvvBitUQM4C42-Q8HSrBc8NiBuSc@mail.gmail.com' \
    --to=olafvdspek@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marco.stornelli@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).