From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o6KJWXvM037169 for ; Tue, 20 Jul 2010 14:32:33 -0500 Subject: Re: [PATCH 6/8] xfs: fix unsigned underflow From: Alex Elder In-Reply-To: <20100715212116.GA7013@infradead.org> References: <1279219605-12631-1-git-send-email-segooon@gmail.com> <20100715212116.GA7013@infradead.org> Date: Tue, 20 Jul 2010 14:35:33 -0500 Message-ID: <1279654533.1859.242.camel@doink> Mime-Version: 1.0 Reply-To: aelder@sgi.com List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Kulikov Vasiliy Cc: Christoph Hellwig , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, xfs@oss.sgi.com On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote: > On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote: > > map_len is unsigned. Checking map_len <= 0 is buggy when it should be > > below zero. So, check exact expression instead of map_len. > > > > Signed-off-by: Kulikov Vasiliy > > Looks good, > > Reviewed-by: Christoph Hellwig > Looks good to me too. Do you want me to pull this in via the XFS tree, or do you have other plans? -Alex _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs