Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752202Ab0LZN5I (ORCPT ); Sun, 26 Dec 2010 08:57:08 -0500 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 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=qI+Bd3iX6p5c7JW8bD0e7PndEPAMK8mskIbmYwEQcOEp3hDVI3KfoOnZk2ZO1wpGNZ NFOyLVHi23KBjTT4YzOnI3AJh9bEtQG3yFdkO603L16qq0NNn2FjqyEJ56/wYsazYkXo I7qs1ptdYxYaffFZM3m14uc70zwR2AEWS/rU4= Message-ID: <4D1748D4.5050700@gmail.com> Date: Sun, 26 Dec 2010 14:53:24 +0100 From: Marco Stornelli User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 MIME-Version: 1.0 To: Linux FS Devel CC: Linux Kernel Subject: Return value of generic xattr operations Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 15 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/