diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-29 10:42:59 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-29 10:59:21 -0400 |
commit | 5afb78356cead66db2203061fed6fc8957527ed4 (patch) | |
tree | 3ca5cb4673b79152404cedfd5341ca25669cb77b /include/linux/fs.h | |
parent | 4163a0398434a9b705399ae2c48fb4fb14008434 (diff) |
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/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
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 *); | |||
2570 | 2570 | ||
2571 | #ifdef CONFIG_BLOCK | 2571 | #ifdef CONFIG_BLOCK |
2572 | extern void check_disk_size_change(struct gendisk *disk, | 2572 | extern void check_disk_size_change(struct gendisk *disk, |
2573 | struct block_device *bdev); | 2573 | struct block_device *bdev, bool verbose); |
2574 | extern int revalidate_disk(struct gendisk *); | 2574 | extern int revalidate_disk(struct gendisk *); |
2575 | extern int check_disk_change(struct block_device *); | 2575 | extern int check_disk_change(struct block_device *); |
2576 | extern int __invalidate_device(struct block_device *, bool); | 2576 | extern int __invalidate_device(struct block_device *, bool); |