summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-08-03 13:14:58 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 18:53:10 +0200
commit7cc015811ef8992dfcce314d0ed9642bc18143d1 (patch)
treecae16766d233563bef102032eb954c05f1814f77 /fs/sysfs
parentaca27ba9618276dd2f777bcd5a1419589ccf1ca8 (diff)
downloadtalos-obmc-linux-7cc015811ef8992dfcce314d0ed9642bc18143d1.tar.gz
talos-obmc-linux-7cc015811ef8992dfcce314d0ed9642bc18143d1.zip
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 <tj@kernel.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud