Bart Van Assche | 556910e | 2021-06-17 17:44:44 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | |||||
3 | #ifndef _BLK_IOPRIO_H_ | ||||
4 | #define _BLK_IOPRIO_H_ | ||||
5 | |||||
6 | #include <linux/kconfig.h> | ||||
7 | |||||
8 | struct request_queue; | ||||
9 | |||||
10 | #ifdef CONFIG_BLK_CGROUP_IOPRIO | ||||
11 | int blk_ioprio_init(struct request_queue *q); | ||||
12 | #else | ||||
13 | static inline int blk_ioprio_init(struct request_queue *q) | ||||
14 | { | ||||
15 | return 0; | ||||
16 | } | ||||
17 | #endif | ||||
18 | |||||
19 | #endif /* _BLK_IOPRIO_H_ */ |