From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Stornelli Subject: Return value of generic xattr operations Date: Sun, 26 Dec 2010 14:53:24 +0100 Message-ID: <4D1748D4.5050700@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Linux Kernel To: Linux FS Devel Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:49818 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752008Ab0LZN5F (ORCPT ); Sun, 26 Dec 2010 08:57:05 -0500 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi, is it right that generic_setxattr & co. return -EOPNOTSUPP if there is a namespace error? I mean, if the user try to set .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