lkml.org 
[lkml]   [2008]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Partition check considered as error is breaking mounting in 2.6.27
On Fri, Sep 12, 2008 at 4:14 PM, Herton Ronaldo Krzesinski
<herton@mandriva.com.br> 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


\
 
 \ /
  Last update: 2008-09-12 22:31    [W:0.056 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site