fs: decouple READ and WRITE from the block layer ops
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Nov 2016 13:40:11 +0000 (07:40 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 1 Nov 2016 15:43:26 +0000 (09:43 -0600)
commitd38499530e5f170d30f32d3841fade204e63081d
tree931cc16c86ab8d7b07dcda66febb6b1af21e2234
parent70fd76140a6cb63262bd47b68d57b42e889c10ee
fs: decouple READ and WRITE from the block layer ops

Move READ and WRITE to kernel.h and don't define them in terms of block
layer ops; they are our generic data direction indicators these days
and have no more resemblance with the block layer ops.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/bio.h
include/linux/fs.h
include/linux/kernel.h
include/linux/uio.h