block: add bio_rw_flagged() for testing bio->bi_rw
authorJens Axboe <jens.axboe@oracle.com>
Tue, 6 Jan 2009 08:21:49 +0000 (09:21 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 30 Jan 2009 11:34:37 +0000 (12:34 +0100)
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: Jens Axboe <jens.axboe@oracle.com>

No differences found