commit | 9a3ffbbc6561ff878261727585ef8ee89bb36424 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jul 08 14:25:43 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jul 08 16:20:01 2020 -0600 |
tree | 1a0551a01c6683b10b6291c76323c51a46c5619e | |
parent | 8c22eb3a77373c616f141b56f44ef225ee15c96b [diff] |
block: remove flush_disk flush_disk has only two callers, so open code it there. That also helps clarifying the error message for the particular case, and allows to remove setting bd_invalidated in check_disk_size_change, which will be cleared again instantly. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>