block: split out operations on block special files
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Sep 2021 14:13:02 +0000 (16:13 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 7 Sep 2021 14:39:29 +0000 (08:39 -0600)
commitcd82cca7ebfe9c6c74a8e5b28382ba88177ba5f1
tree649ea2d4f33042529e895debeb58de0750370bd8
parent49d82b1445f13b2754aacc38d73d0cf1b515456c
block: split out operations on block special files

Add a new block/fops.c for all the file and address_space operations
that provide the block special file support.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210907141303.1371844-2-hch@lst.de
[axboe: correct trailing whitespace while at it]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/Makefile
block/blk.h
block/fops.c [new file with mode: 0644]
fs/block_dev.c