[PATCH 1/5] dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-11 Thread Enric Balletbo i Serra
From: Brian Norris If anyone is going to use dm_table_create(), they probably should be able to use dm_table_destroy() too. Move the dm_table_destroy() definition outside the private header, near dm_table_create() Signed-off-by: Brian Norris

[PATCH 1/5] dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-11 Thread Enric Balletbo i Serra
From: Brian Norris If anyone is going to use dm_table_create(), they probably should be able to use dm_table_destroy() too. Move the dm_table_destroy() definition outside the private header, near dm_table_create() Signed-off-by: Brian Norris Signed-off-by: Enric Balletbo i Serra ---

Re: dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-05 Thread Enric Balletbo i Serra
Hi, On 05/04/17 00:35, Brian Norris wrote: > On Tue, Mar 28, 2017 at 03:31:51PM -0400, Mike Snitzer wrote: >> On Tue, Mar 28 2017 at 2:31pm -0400, >> Brian Norris wrote: >> >>> If anyone is going to use dm_table_create(), they probably should be >>> able to use

Re: dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-05 Thread Enric Balletbo i Serra
Hi, On 05/04/17 00:35, Brian Norris wrote: > On Tue, Mar 28, 2017 at 03:31:51PM -0400, Mike Snitzer wrote: >> On Tue, Mar 28 2017 at 2:31pm -0400, >> Brian Norris wrote: >> >>> If anyone is going to use dm_table_create(), they probably should be >>> able to use dm_table_destroy() too. Move the

Re: dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-04 Thread Brian Norris
On Tue, Mar 28, 2017 at 03:31:51PM -0400, Mike Snitzer wrote: > On Tue, Mar 28 2017 at 2:31pm -0400, > Brian Norris wrote: > > > If anyone is going to use dm_table_create(), they probably should be > > able to use dm_table_destroy() too. Move the dm_table_destroy() > >

Re: dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-04 Thread Brian Norris
On Tue, Mar 28, 2017 at 03:31:51PM -0400, Mike Snitzer wrote: > On Tue, Mar 28 2017 at 2:31pm -0400, > Brian Norris wrote: > > > If anyone is going to use dm_table_create(), they probably should be > > able to use dm_table_destroy() too. Move the dm_table_destroy() > > definition outside the

Re: dm: move dm_table_destroy() to same header as dm_table_create()

2017-03-28 Thread Mike Snitzer
On Tue, Mar 28 2017 at 2:31pm -0400, Brian Norris wrote: > If anyone is going to use dm_table_create(), they probably should be > able to use dm_table_destroy() too. Move the dm_table_destroy() > definition outside the private header, near dm_table_create() > >

Re: dm: move dm_table_destroy() to same header as dm_table_create()

2017-03-28 Thread Mike Snitzer
On Tue, Mar 28 2017 at 2:31pm -0400, Brian Norris wrote: > If anyone is going to use dm_table_create(), they probably should be > able to use dm_table_destroy() too. Move the dm_table_destroy() > definition outside the private header, near dm_table_create() > > Signed-off-by: Brian Norris

[PATCH] dm: move dm_table_destroy() to same header as dm_table_create()

2017-03-28 Thread Brian Norris
If anyone is going to use dm_table_create(), they probably should be able to use dm_table_destroy() too. Move the dm_table_destroy() definition outside the private header, near dm_table_create() Signed-off-by: Brian Norris --- drivers/md/dm.h | 1 -

[PATCH] dm: move dm_table_destroy() to same header as dm_table_create()

2017-03-28 Thread Brian Norris
If anyone is going to use dm_table_create(), they probably should be able to use dm_table_destroy() too. Move the dm_table_destroy() definition outside the private header, near dm_table_create() Signed-off-by: Brian Norris --- drivers/md/dm.h | 1 - include/linux/device-mapper.h |