From: Tejun Heo Date: Tue, 3 Aug 2010 11:14:58 +0000 (+0200) Subject: bio, fs: separate out bio_types.h and define READ/WRITE constants in terms of BIO_RW_... X-Git-Tag: v2.6.36-rc1~288^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cc015811ef8992dfcce314d0ed9642bc18143d1;p=pandora-kernel.git bio, fs: separate out bio_types.h and define READ/WRITE constants in terms of BIO_RW_* flags linux/fs.h hard coded READ/WRITE constants which should match BIO_RW_* flags. This is fragile and caused breakage during BIO_RW_* flag rearrangement. The hardcoding is to avoid include dependency hell. Create linux/bio_types.h which contatins definitions for bio data structures and flags and include it from bio.h and fs.h, and make fs.h define all READ/WRITE related constants in terms of BIO_RW_* flags. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed