aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-29 16:42:59 +0200
committerJens Axboe <axboe@kernel.dk>2018-05-29 08:59:21 -0600
commit5afb78356cead66db2203061fed6fc8957527ed4 (patch)
tree3ca5cb4673b79152404cedfd5341ca25669cb77b /include
parentblock: unexport check_disk_size_change (diff)
downloadwireguard-linux-5afb78356cead66db2203061fed6fc8957527ed4.tar.xz
wireguard-linux-5afb78356cead66db2203061fed6fc8957527ed4.zip
block: don't print a message when the device went away
The information about a size change in this case just creates confusion. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 760d8da1b6c7..d8d4831af9ff 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2570,7 +2570,7 @@ extern bool is_bad_inode(struct inode *);
#ifdef CONFIG_BLOCK
extern void check_disk_size_change(struct gendisk *disk,
- struct block_device *bdev);
+ struct block_device *bdev, bool verbose);
extern int revalidate_disk(struct gendisk *);
extern int check_disk_change(struct block_device *);
extern int __invalidate_device(struct block_device *, bool);