Files
kernel/include/linux
Bartlomiej Zolnierkiewicz db429e9ec0 partitions: add ->set_capacity block device method
* Add ->set_capacity block device method and use it in rescan_partitions()
  to attempt enabling native capacity of the device upon detecting the
  partition which exceeds device capacity.

* Add GENHD_FL_NATIVE_CAPACITY flag to try limit attempts of enabling
  native capacity during partition scan.

Together with the consecutive patch implementing ->set_capacity method in
ide-gd device driver this allows automatic disabling of Host Protected Area
(HPA) if any partitions overlapping HPA are detected.

Cc: Robert Hancock <hancockrwd@gmail.com>
Cc: Frans Pop <elendil@planet.nl>
Cc: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Emphatically-Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-06-07 13:52:52 +02:00
..
2009-04-07 10:23:34 +01:00
2009-04-16 08:51:52 -07:00
2009-04-06 20:00:51 -04:00
2009-04-15 08:28:09 +02:00
2009-05-22 16:23:38 +02:00
2009-04-13 15:04:29 -07:00
2009-04-16 16:17:10 -07:00
2009-04-06 16:06:26 +01:00
2009-04-07 08:12:38 +02:00
2009-04-10 21:36:18 +02:00
2009-04-13 14:51:23 -07:00
2009-04-08 14:33:38 -07:00
2009-04-13 15:04:29 -07:00
2009-04-17 10:50:27 -07:00