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)
committerColin Cross <ccross@android.com>
Thu, 30 Sep 2010 00:49:26 +0000 (17:49 -0700)
commit20287c3c894bbc6e9b85e4b10384111f3170b7c4
tree4c3bc9909635ae9bb90e7f62da13d94b5ec4b86c
parent56fbe31b1ef8cce8593b2e52d5fc2b85d7edcfd2
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