Re: [PATCH 1/7] blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path

2015-03-12 Thread Mike Snitzer
On Thu, Mar 12 2015 at 9:51am -0400, Mike Snitzer wrote: > On Thu, Mar 12 2015 at 3:48am -0400, > Ming Lei wrote: > > > On Thu, Mar 12, 2015 at 11:56 AM, Mike Snitzer wrote: > > > If percpu_ref_init() fails the 'err_hctxs' label should be used instead > > > of 'err_map'. > > > > > > Signed-o

Re: [PATCH 1/7] blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path

2015-03-12 Thread Mike Snitzer
On Thu, Mar 12 2015 at 3:48am -0400, Ming Lei wrote: > On Thu, Mar 12, 2015 at 11:56 AM, Mike Snitzer wrote: > > If percpu_ref_init() fails the 'err_hctxs' label should be used instead > > of 'err_map'. > > > > Signed-off-by: Mike Snitzer > > --- > > block/blk-mq.c | 2 +- > > 1 file changed,

Re: [PATCH 1/7] blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path

2015-03-12 Thread Ming Lei
On Thu, Mar 12, 2015 at 11:56 AM, Mike Snitzer wrote: > If percpu_ref_init() fails the 'err_hctxs' label should be used instead > of 'err_map'. > > Signed-off-by: Mike Snitzer > --- > block/blk-mq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/block/blk-mq.c b/block/b

[PATCH 1/7] blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path

2015-03-11 Thread Mike Snitzer
If percpu_ref_init() fails the 'err_hctxs' label should be used instead of 'err_map'. Signed-off-by: Mike Snitzer --- block/blk-mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 4f4bea2..459840c 100644 --- a/block/blk-mq.c +++ b/block/