On 11/2/07, Dirk Hohndel <[email protected]> wrote: > > > @@ -554,8 +573,11 @@ int rescan_partitions(struct gendisk *disk, struct block_device *bdev) > > > if (from + size > get_capacity(disk)) { > > > printk(" %s: p%d exceeds device capacity\n", > > > disk->disk_name, p); > > > + return -EBUSY; [snip] > I was wondering about that myself - EBUSY seemed to be used in a couple of > other cases where there wasn't a clear match, but I think EOVERFLOW actually > might make more sense. Opinions? ISTR that some people wanted to keep going in this case rather than return an error, e.g. for forensic purposes... .. digging... here's a thread from last year: http://lkml.org/lkml/2006/5/11/64 -Bob - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] add_partition silently ignored errors
- From: Dirk Hohndel <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- References:
- Re: [PATCH] add_partition silently ignored errors
- From: Cornelia Huck <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- From: Dirk Hohndel <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- From: Jens Axboe <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- From: Cornelia Huck <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- From: Dirk Hohndel <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- From: Cornelia Huck <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- From: Dirk Hohndel <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- From: Jens Axboe <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- From: Dirk Hohndel <[email protected]>
- Re: [PATCH] add_partition silently ignored errors
- Prev by Date: Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
- Next by Date: Re: [PATCH] Remove unused code from mm/tiny-shmem.c
- Previous by thread: Re: [PATCH] add_partition silently ignored errors
- Next by thread: Re: [PATCH] add_partition silently ignored errors
- Index(es):