diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-18 00:34:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-02 17:39:44 -0400 |
commit | ead083aeeed9df44fab9227e47688f7305c3a233 (patch) | |
tree | 1678d6d34fa3483f2bcfe7dea3ced9b4c6d2a9bd /include/linux/blkdev.h | |
parent | b85c42981ac4abeeb15d16437c40f52a8a64787d (diff) |
set_blocksize(): switch to passing struct file *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 172c91879999..20c749b2ebc2 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1474,7 +1474,7 @@ static inline void bio_end_io_acct(struct bio *bio, unsigned long start_time) } int bdev_read_only(struct block_device *bdev); -int set_blocksize(struct block_device *bdev, int size); +int set_blocksize(struct file *file, int size); int lookup_bdev(const char *pathname, dev_t *dev); |