]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaeed5fed0edb4c43ffc01e486a222acea7b30ae8
tree649ea2d4f33042529e895debeb58de0750370bd8
parentbe4f4a44db931274791e73447e85c8972a30fd91
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