summaryrefslogtreecommitdiffstats
path: root/block/partition-generic.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-08-18 14:55:10 -0700
committerJens Axboe <axboe@fb.com>2015-08-18 15:49:16 -0700
commit3e41871046bfe0ba7d122a1f14f0c1db2dca0256 (patch)
treef6b33773063f53df1ab0751199a7f6830f6398bf /block/partition-generic.c
parent4c55f4f9ad3001ac1fefdd8d8ca7641d18558e23 (diff)
downloadlinux-stable-3e41871046bfe0ba7d122a1f14f0c1db2dca0256.tar.gz
linux-stable-3e41871046bfe0ba7d122a1f14f0c1db2dca0256.tar.bz2
linux-stable-3e41871046bfe0ba7d122a1f14f0c1db2dca0256.zip
blkcg: make blkcg_activate_policy() allow NULL ->pd_init_fn
blkg_create() allows NULL ->pd_init_fn() but blkcg_activate_policy() doesn't. As both in-kernel policies implement ->pd_init_fn, it currently doesn't break anything. Update blkcg_activate_policy() so that its behavior is consistent with blkg_create(). Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions