diff options
author | weiping zhang <zhangweiping@didichuxing.com> | 2017-10-17 23:56:21 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-04 12:31:15 -0600 |
commit | e84010732225c4c7c3464ee1169d395751c3adfa (patch) | |
tree | e2d58f0a0f73d03edaa383e6fba1b2a9f15cd134 /block/bsg-lib.c | |
parent | blk-mq: don't handle failure in .get_budget (diff) | |
download | linux-dev-e84010732225c4c7c3464ee1169d395751c3adfa.tar.xz linux-dev-e84010732225c4c7c3464ee1169d395751c3adfa.zip |
blkcg: add sanity check for blkcg policy operations
blkcg policy should keep cpd/pd's alloc_fn and free_fn in pairs,
otherwise policy would register fail.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions