blkcg: make ->cpd_init_fn() optional
authorTejun Heo <tj@kernel.org>
Wed, 28 Aug 2019 22:05:52 +0000 (15:05 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Aug 2019 03:17:03 +0000 (21:17 -0600)
commit86a5bba5c252e90d264c7460e29a0b9e633777e7
tree764c165e3a9f51a9496868154e780b0fb4b33adf
parentcf09a8ee19ad1f78b4e18cdde9f2a61133efacf5
blkcg: make ->cpd_init_fn() optional

For policies which can do enough initialization from ->cpd_alloc_fn(),
make ->cpd_init_fn() optional.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c