From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757999AbYILU2N (ORCPT ); Fri, 12 Sep 2008 16:28:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755475AbYILU14 (ORCPT ); Fri, 12 Sep 2008 16:27:56 -0400 Received: from rv-out-0506.google.com ([209.85.198.231]:49009 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757871AbYILU1y (ORCPT ); Fri, 12 Sep 2008 16:27:54 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=BGjInkkLyoVaMUMZaq9+yaXall2Xf44Wp7H4UwnmxgeiqE7yjmbAOYeBBz3WkztHqn Fu0wFDBO/tebmb9pQey1Q88EAp6LM39VC935goyYPi83fzoHRGiOWaPlbP6rxVcg+hov CyBARVDukNcHqeimo0RQ4lzJci8tfR+Riu39k= Message-ID: Date: Fri, 12 Sep 2008 16:27:54 -0400 From: "Bob Copeland" To: "Herton Ronaldo Krzesinski" Subject: Re: Partition check considered as error is breaking mounting in 2.6.27 Cc: "Alan Stern" , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, bogdano@mandriva.com.br, "Luiz Fernando N. Capitulino" , "Abdel Benamrouche" , "Damien Lallement" , "pterjan@mandriva.com" , "Jens Axboe" In-Reply-To: <200809121714.05443.herton@mandriva.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809121714.05443.herton@mandriva.com.br> X-Google-Sender-Auth: 609fb0860290d76d Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 12, 2008 at 4:14 PM, Herton Ronaldo Krzesinski wrote: > diff --git a/fs/partitions/check.c b/fs/partitions/check.c > index 7d6b34e..15c70df 100644 > --- a/fs/partitions/check.c > +++ b/fs/partitions/check.c > @@ -499,9 +499,9 @@ int rescan_partitions(struct gendisk *disk, struct block_device *bdev) > if (!size) > continue; > if (from + size > get_capacity(disk)) { > - printk(KERN_ERR " %s: p%d exceeds device capacity\n", > + printk(KERN_WARNING > + " %s: p%d exceeds device capacity\n", > disk->disk_name, p); > - continue; It might make sense to comment here that we intentionally want to add the partition anyway. That might keep someone from re-adding the continue (same patch has already come up at least 3 times). -- Bob Copeland %% www.bobcopeland.com