aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2024-07-19 15:15:05 +0800
committerJens Axboe <[email protected]>2024-07-28 16:47:51 -0600
commitd0e92795997c8dce7ec804791e359a93211f9719 (patch)
tree57500d773973aad581658627e8a7ba1e3b321173 /lib/memory-notifier-error-inject.c
parentae8650b45d1837aae117fa147aeef69540bb3fe8 (diff)
blk-ioprio: remove ioprio_blkcg_from_bio()
Currently, if config is enabled, then ioprio is always enabled by default from blkcg_init_disk(), hence there is no point to check if the policy is enabled from blkg in ioprio_blkcg_from_bio(). Hence remove it and get blkcg directly from bio. Signed-off-by: Yu Kuai <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Tejun Heo <[email protected]> Reviewed-by: Bart Van Assche <[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