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>
Tue, 14 Jun 2011 16:09:24 +0000 (09:09 -0700)
commit5fec81a237197cc64b9d23ccbfdbf643c88a5a91
tree9f1a8306851eceac060c2658597fc6d07ef7e187
parent5ef087073bcc1d8601d0f024e067f5ddae449ab6
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