All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] dm core: export dm_disk to allow for dm-raid to pass it on to the MD raid0 personality
@ 2015-04-17 12:39 heinzm
  2015-04-21 15:57 ` Brassow Jonathan
  0 siblings, 1 reply; 3+ messages in thread
From: heinzm @ 2015-04-17 12:39 UTC (permalink / raw)
  To: dm-devel; +Cc: Heinz Mauelshagen

From: Heinz Mauelshagen <heinzm@redhat.com>

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 <heinzm@redhat.com>

---
 drivers/md/dm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 8001fe9..f11e2f5 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -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)
 {
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/3] dm core: export dm_disk to allow for dm-raid to pass it on to the MD raid0 personality
  2015-04-17 12:39 [PATCH 2/3] dm core: export dm_disk to allow for dm-raid to pass it on to the MD raid0 personality heinzm
@ 2015-04-21 15:57 ` Brassow Jonathan
  0 siblings, 0 replies; 3+ messages in thread
From: Brassow Jonathan @ 2015-04-21 15:57 UTC (permalink / raw)
  To: device-mapper development; +Cc: Heinz Mauelshagen


> On Apr 17, 2015, at 7:39 AM, heinzm@redhat.com wrote:
> 
> From: Heinz Mauelshagen <heinzm@redhat.com>
> 
> 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 <heinzm@redhat.com>
> 
> ---
> drivers/md/dm.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/md/dm.c b/drivers/md/dm.c
> index 8001fe9..f11e2f5 100644
> --- a/drivers/md/dm.c
> +++ b/drivers/md/dm.c
> @@ -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)
> {
> — 

This patch goes away due to changes in prev patch.

 brassow

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/3] dm core: export dm_disk to allow for dm-raid to pass it on to the MD raid0 personality
@ 2015-04-17 12:40 heinzm
  0 siblings, 0 replies; 3+ messages in thread
From: heinzm @ 2015-04-17 12:40 UTC (permalink / raw)
  To: linux-raid; +Cc: Heinz Mauelshagen

From: Heinz Mauelshagen <heinzm@redhat.com>

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 <heinzm@redhat.com>

---
 drivers/md/dm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 8001fe9..f11e2f5 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -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)
 {
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-21 15:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17 12:39 [PATCH 2/3] dm core: export dm_disk to allow for dm-raid to pass it on to the MD raid0 personality heinzm
2015-04-21 15:57 ` Brassow Jonathan
2015-04-17 12:40 heinzm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.