diff options
author | Ming Lei <ming.lei@canonical.com> | 2014-09-25 19:23:38 +0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-26 01:22:32 +0400 |
commit | 08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8 (patch) | |
tree | 1f852a126a0f5282cd9c39f4540cfb1821f6d18d /block/blk-flush.c | |
parent | fe052529e465daff25225aac769828baa88b7252 (diff) | |
download | linux-08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8.tar.xz |
blk-mq: handle failure path for initializing hctx
Failure of initializing one hctx isn't handled, so this patch
introduces blk_mq_init_hctx() and its pair to handle it explicitly.
Also this patch makes code cleaner.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions