linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marco Stornelli <marco.stornelli@gmail.com>
To: Linux FS Devel <linux-fsdevel@vger.kernel.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Return value of generic xattr operations
Date: Sun, 26 Dec 2010 14:53:24 +0100	[thread overview]
Message-ID: <4D1748D4.5050700@gmail.com> (raw)

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

             reply	other threads:[~2010-12-26 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-26 13:53 Marco Stornelli [this message]
2010-12-26 21:15 ` Return value of generic xattr operations Olaf van der Spek
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=4D1748D4.5050700@gmail.com \
    --to=marco.stornelli@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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).