diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-12 12:44:49 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 06:17:34 -0600 |
commit | 84b8514b46b417e299746b1297d3d0899e8539f3 (patch) | |
tree | f138223d6757067bf68f0b882a59085f7dd125d4 /block | |
parent | fea349b037869beda6db5ed0c150f8a2a9a317f6 (diff) | |
download | linux-stable-84b8514b46b417e299746b1297d3d0899e8539f3.tar.gz linux-stable-84b8514b46b417e299746b1297d3d0899e8539f3.tar.bz2 linux-stable-84b8514b46b417e299746b1297d3d0899e8539f3.zip |
block: move the *blkdev_ioctl declarations out of blkdev.h
These are only used inside of block/.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211012104450.659013-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/block/blk.h b/block/blk.h index 019c50a140ba..eadb2a640a69 100644 --- a/block/blk.h +++ b/block/blk.h @@ -405,6 +405,10 @@ static inline void bio_clear_hipri(struct bio *bio) bio->bi_opf &= ~REQ_HIPRI; } +int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, + unsigned long arg); +long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg); + extern const struct address_space_operations def_blk_aops; #endif /* BLK_INTERNAL_H */ |