blk-ioprio.h 332 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _BLK_IOPRIO_H_
  3. #define _BLK_IOPRIO_H_
  4. #include <linux/kconfig.h>
  5. struct request_queue;
  6. #ifdef CONFIG_BLK_CGROUP_IOPRIO
  7. int blk_ioprio_init(struct request_queue *q);
  8. #else
  9. static inline int blk_ioprio_init(struct request_queue *q)
  10. {
  11. return 0;
  12. }
  13. #endif
  14. #endif /* _BLK_IOPRIO_H_ */