From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aristeu Rozanski Subject: Re: [PATCH] fs: xattr: rewrite simple_xattr_set() Date: Thu, 25 Oct 2012 14:12:48 -0400 Message-ID: <20121025181248.GH14085@redhat.com> References: <20121025152613.GF14085@redhat.com> <20121025173326.GH11442@htj.dyndns.org> <20121025175412.GG14085@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, Li Zefan , Al Viro , linux-fsdevel@vger.kernel.org, Hugh Dickins To: Tejun Heo Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Oct 25, 2012 at 10:59:35AM -0700, Tejun Heo wrote: > On Thu, Oct 25, 2012 at 10:54 AM, Aristeu Rozanski wrote: > >> So, it returns 0 on success and 1 on failure, which in itself isn't a > >> particularly good idea. > > > > you mean it should return -ENODATA instead? > > Yeap, this is a bug, right? We end up passing that 1 to the set_xattr caller. yes, will resubmit Thanks! -- Aristeu