Skip to content
Commit 1dfa17f4 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: add bio_rw_flagged() for testing bio->bi_rw



The existing functions for checking bio->bi_rw are badly named. So lets
mirror what we do for bio->bi_flags testing, use a properly named
function so that it's immediately obvious what is being tested.

Maintain compatability names for the old macros, eventually we'll get
rid of these.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 213d9417
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment