dm core: export dm_disk to allow for dm-raid to pass it on to the MD raid0 personality
PATCH 2/3 dm core: export dm_disk to allow for dm-raid to pass it on to the MD raid0 personality
From: Heinz Mauelshagen <[email protected]>
This patch is a prerequisite for dm-raid "raid0" support to allow dm-raid to set rs->md.gendisk, which is required by the MD RAID0 pesonality to set disk stacking limits.
Signed-off-by Heinz Mauelshagen <[email protected]>
--- drivers/md/dm.c | 1 + 1 file changed, 1 insertion(+)
drivers/md/dm.c +1 -0
@@ -3206,6 +3206,7 @@ struct gendisk *dm_disk(struct mapped_device *md) {return md->disk; } +EXPORT_SYMBOL_GPL (dm_disk);struct kobject *dm_kobject (struct mapped_device *md) {
Signature · 1 line
2.1.0
Quoted 27 lines · On Apr 17, 2015, at 7:39 AM, [email protected] wrote:
From: Heinz Mauelshagen <[email protected]>
This patch is a prerequisite for dm-raid "raid0" support to allow dm-raid to set
rs->md.gendisk, which is required by the MD RAID0 pesonality to set disk stacking limits.Signed-off-by Heinz Mauelshagen <[email protected]>---
drivers/md/dm.c| 1 +1 file changed, 1 insertion(+)drivers/md/dm.c +1
-0@@ -3206,6 +3206,7 @@ struct gendisk *dm_disk(struct mapped_device *md) {return md->disk; } +EXPORT_SYMBOL_GPL (dm_disk);struct kobject *dm_kobject (struct mapped_device *md) {
Quoted 1 line
—
This patch goes away due to changes in prev patch.
brassow
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel