lkml.org 
[lkml]   [2008]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Partition check considered as error is breaking mounting in 2.6.27
Date
Herton Ronaldo Krzesinski <herton@mandriva.com.br> wrote:

> +++ 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"
", trimmed\n",
> disk->disk_name, p);

Add "size = get_capacity(disk) - from" here?
(Possibly using a cached value for get_capacity(disk)?)




\
 
 \ /
  Last update: 2008-09-13 11:19    [W:0.057 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site