Re: [PATCH] bcache: release the allocated id, not its multiple of BCACHE_MINORS

2017-06-23 Thread Liang Chen
re about bcache. > > Thanks. > > > > 发件人: Liang Chen > 收件人: linux-bca...@vger.kernel.org, > 抄送:linux-kernel@vger.kernel.org, col...@suse.de, > bca...@linux.ewheeler.net, Liang Chen > 日期: 2017/06/23 15:16 > 主题: [PATCH] bcache: release

Re: [PATCH] bcache: release the allocated id, not its multiple of BCACHE_MINORS

2017-06-23 Thread Liang Chen
Hi Coly, Thanks for letting me know. Glad to see it's fixed. Thanks, Liang On Fri, Jun 23, 2017 at 3:30 PM, Coly Li wrote: > On 2017/6/23 下午3:15, Liang Chen wrote: >> The id passed to ida_simple_remove has to be the one originally >> allocated with ida_simple_get, not the one after multipling b

Re: [PATCH] bcache: release the allocated id, not its multiple of BCACHE_MINORS

2017-06-23 Thread Coly Li
On 2017/6/23 下午3:15, Liang Chen wrote: > The id passed to ida_simple_remove has to be the one originally > allocated with ida_simple_get, not the one after multipling by > BCACHE_MINORS. > > Signed-off-by: Liang Chen > --- > drivers/md/bcache/super.c | 5 +++-- > 1 file changed, 3 insertions(+),

[PATCH] bcache: release the allocated id, not its multiple of BCACHE_MINORS

2017-06-23 Thread Liang Chen
The id passed to ida_simple_remove has to be the one originally allocated with ida_simple_get, not the one after multipling by BCACHE_MINORS. Signed-off-by: Liang Chen --- drivers/md/bcache/super.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c