diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index f131776f029e..490ce458b031 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -232,6 +232,11 @@ struct request { | |||
232 | struct request *next_rq; | 232 | struct request *next_rq; |
233 | }; | 233 | }; |
234 | 234 | ||
235 | static inline unsigned short req_get_ioprio(struct request *req) | ||
236 | { | ||
237 | return req->ioprio; | ||
238 | } | ||
239 | |||
235 | /* | 240 | /* |
236 | * State information carried for REQ_TYPE_PM_SUSPEND and REQ_TYPE_PM_RESUME | 241 | * State information carried for REQ_TYPE_PM_SUSPEND and REQ_TYPE_PM_RESUME |
237 | * requests. Some step values could eventually be made generic. | 242 | * requests. Some step values could eventually be made generic. |