Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754592AbYACURr (ORCPT ); Thu, 3 Jan 2008 15:17:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752570AbYACURk (ORCPT ); Thu, 3 Jan 2008 15:17:40 -0500 Received: from tetsuo.zabbo.net ([207.173.201.20]:48807 "EHLO tetsuo.zabbo.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752647AbYACURi (ORCPT ); Thu, 3 Jan 2008 15:17:38 -0500 Message-ID: <477D42D3.1060500@oracle.com> Date: Thu, 03 Jan 2008 12:17:23 -0800 From: Zach Brown User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Rusty Russell CC: bcrl@kvack.org, linux-aio@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] aio: negative offset should return -EINVAL References: <200801032004.08907.rusty@rustcorp.com.au> <200801032004.44696.rusty@rustcorp.com.au> In-Reply-To: <200801032004.44696.rusty@rustcorp.com.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 572 Lines: 18 Rusty Russell wrote: > An AIO read or write should return -EINVAL if the offset is negative. > This check matches the one in pread and pwrite. > > This was found by the libaio test suite. > > Signed-off-by: Rusty Russell This looks fine to me. Signed-off-by: Zach Brown - z -- 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/