From: Jens Axboe Date: Tue, 6 Jan 2009 08:21:49 +0000 (+0100) Subject: block: add bio_rw_flagged() for testing bio->bi_rw X-Git-Tag: v2.6.29-rc4~90^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dfa17f4ab8543d82caf4d36636b93916a18f456;p=pandora-kernel.git 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 --- Reading git-diff-tree failed