diff options
author | Christoph Hellwig <hch@lst.de> | 2020-04-14 10:29:01 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-20 20:32:59 +0300 |
commit | 02d33b6771fcc63c98cb48cad0cd8b8fb033837a (patch) | |
tree | d62f65fb13361e75e3babadaa8c5a5da916fd765 /include | |
parent | d5f3178ec9ab8a3a71763310d260e1d2a047baf1 (diff) | |
download | linux-02d33b6771fcc63c98cb48cad0cd8b8fb033837a.tar.xz |
block: mark invalidate_partition static
invalidate_partition is only used in genhd.c, so mark it static. Also
drop the return value given that is is always ignored.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 4f6f59b4f22a..2b4e9f86b151 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2723,7 +2723,6 @@ extern bool is_bad_inode(struct inode *); extern int revalidate_disk(struct gendisk *); extern int check_disk_change(struct block_device *); extern int __invalidate_device(struct block_device *, bool); -extern int invalidate_partition(struct gendisk *, int); #endif unsigned long invalidate_mapping_pages(struct address_space *mapping, pgoff_t start, pgoff_t end); |