Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758166AbbFCNQG (ORCPT ); Wed, 3 Jun 2015 09:16:06 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:35059 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754513AbbFCNPy (ORCPT ); Wed, 3 Jun 2015 09:15:54 -0400 Date: Wed, 3 Jun 2015 14:15:51 +0100 From: Luis Henriques To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Dave Chinner , Brian Foster , Dave Chinner Subject: Re: [PATCH 3.14 10/64] xfs: xfs_iozero can return positive errno Message-ID: <20150603131551.GD1737@ares> References: <20150603063928.472620468@linuxfoundation.org> <20150603063928.913490205@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150603063928.913490205@linuxfoundation.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1552 Lines: 53 On Wed, Jun 03, 2015 at 08:42:38PM +0900, Greg Kroah-Hartman wrote: > 3.14-stable review patch. If anyone has any objections, please let me know. > I guess you forgot to drop this patch. Cheers, -- Lu?s > ------------------ > > From: Dave Chinner > > commit cddc116228cb9d51d3224d23ba3e61fbbc3ec3d2 upstream. > > It was missed when we converted everything in XFs to use negative error > numbers, so fix it now. Bug introduced in 3.17 by commit 2451337 ("xfs: global > error sign conversion"), and should go back to stable kernels. > > Thanks to Brian Foster for noticing it. > > Signed-off-by: Dave Chinner > Reviewed-by: Brian Foster > Signed-off-by: Dave Chinner > Signed-off-by: Greg Kroah-Hartman > > --- > fs/xfs/xfs_file.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/fs/xfs/xfs_file.c > +++ b/fs/xfs/xfs_file.c > @@ -126,7 +126,7 @@ xfs_iozero( > status = 0; > } while (count); > > - return (-status); > + return status; > } > > /* > > > -- > To unsubscribe from this list: send the line "unsubscribe stable" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- 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/