diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-07 17:13:02 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-09-07 17:39:29 +0300 |
commit | cd82cca7ebfe9c6c74a8e5b28382ba88177ba5f1 (patch) | |
tree | 649ea2d4f33042529e895debeb58de0750370bd8 /block/blk.h | |
parent | 49d82b1445f13b2754aacc38d73d0cf1b515456c (diff) | |
download | linux-cd82cca7ebfe9c6c74a8e5b28382ba88177ba5f1.tar.xz |
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>
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk.h b/block/blk.h index 8c96b0c90c48..7d2a0ba7ed21 100644 --- a/block/blk.h +++ b/block/blk.h @@ -373,4 +373,6 @@ static inline void bio_clear_hipri(struct bio *bio) bio->bi_opf &= ~REQ_HIPRI; } +extern const struct address_space_operations def_blk_aops; + #endif /* BLK_INTERNAL_H */ |