diff options
author | Ming Lei <tom.leiming@gmail.com> | 2017-02-22 18:14:02 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-03-08 09:56:12 -0700 |
commit | 01388df37627d2e89f0b835377c0eb39d81f671c (patch) | |
tree | b431f6dbe023b4a2c8250f7fb052dff9276888c4 /block/blk-mq-virtio.c | |
parent | 6c8b232efea1ad3d263ff8b9c16b7e8767a77488 (diff) | |
download | linux-01388df37627d2e89f0b835377c0eb39d81f671c.tar.bz2 |
blk-mq: free hctx->cpumask in release handler of hctx's kobject
It is obviously that hctx->cpumask is per hctx, and both
share same lifetime, so this patch moves freeing of hctx->cpumask
into release handler of hctx's kobject.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-virtio.c')
0 files changed, 0 insertions, 0 deletions