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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:05:00 +0000 (12:05 -0800)
commita13627e64381cedfe06afbef32a2515223cd7c22
treee380fe9f461542c2cc7d15defaff3eb782592914
parentc93f320db0e62444ba309034f1c8481531e9aa0e
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