block: genhd: Add disk/partition specific uevent callbacks for partition info
authorSan Mehat <san@google.com>
Sat, 10 Oct 2009 16:35:24 +0000 (09:35 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 8 Feb 2010 23:36:08 +0000 (15:36 -0800)
commitf9d6d7703fca9b9d5d92c6e71ed4263220059884
tree9b7055b3b155388c1a3348af6f52af813ef4ad1a
parentbeb070f3d41fb82c69c6dcec1293817c7c788d10
block: genhd: Add disk/partition specific uevent callbacks for partition info

For disk devices, a new uevent parameter 'NPARTS' specifies the number
of partitions detected by the kernel. Partition devices get 'PARTN' which
specifies the partitions index in the table.

Signed-off-by: San Mehat <san@google.com>
block/genhd.c
fs/partitions/check.c