linux/fs/partitions
Andrew Morton 8d99f83b94 rescan_partitions(): make device capacity errors non-fatal
Herton Krzesinski reports that the error-checking changes in
04ebd4aee52b06a2c38127d9208546e5b96f3a19 ("block/ioctl.c and
fs/partition/check.c: check value returned by add_partition") cause his
buggy USB camera to no longer mount.  "The camera is an Olympus X-840.
The original issue comes from the camera itself: its format program
creates a partition with an off by one error".

Buggy devices happen.  It is better for the kernel to warn and to proceed
with the mount.

Reported-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Cc: Abdel Benamrouche <draconux@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-09-13 14:41:52 -07:00
..
2007-07-16 09:05:42 -07:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:30 -08:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:30 -08:00
2005-04-16 15:20:36 -07:00
2008-07-25 10:53:44 -07:00
2007-07-10 11:24:44 +02:00
2005-04-16 15:20:36 -07:00
2008-07-25 10:53:26 -07:00
2008-07-25 10:53:26 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-02-10 23:50:00 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00