commit | 1dfa17f4ab8543d82caf4d36636b93916a18f456 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Jan 06 09:21:49 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Jan 30 12:34:37 2009 +0100 |
tree | bce24202f9f4d9b0d82cd5303dcfa5ccf4dc6886 | |
parent | 213d9417fec62ef4c3675621b9364a667954d4dd [diff] |
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: Jens Axboe <jens.axboe@oracle.com>