block: move clearing bd_invalidated into check_disk_size_change for-5.5/disk-revalidate for-5.5/disk-revalidate-20191122
authorChristoph Hellwig <hch@lst.de>
Thu, 14 Nov 2019 14:34:37 +0000 (15:34 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Nov 2019 14:44:01 +0000 (07:44 -0700)
commit979c690d9a017db14b7759a099478e3faad991ac
tree4ebafea98f249e4ac5b30c3c3f7ef6c790c0413c
parentf0b870df80bc70dad432fd0c142bb709a49964f5
block: move clearing bd_invalidated into check_disk_size_change

Both callers of check_disk_size_change clear bd_invalidate directly
after the call, so move the clearing into check_disk_size_change
itself.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c