diff options
author | Yu Kuai <[email protected]> | 2024-07-19 15:15:04 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-07-28 16:47:51 -0600 |
commit | ae8650b45d1837aae117fa147aeef69540bb3fe8 (patch) | |
tree | bc9d3e203e8bcbbd7bc81a179c687d389fd3792b /lib/memory-notifier-error-inject.c | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
blk-cgroup: check for pd_(alloc|free)_fn in blkcg_activate_policy()
Currently all policies implement pd_(alloc|free)_fn, however, this is
not necessary for ioprio that only works for blkcg, not blkg.
There are no functional changes, prepare to cleanup activating ioprio
policy.
Signed-off-by: Yu Kuai <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions