commit | e515be8f3b3e63be4c5e91dc6620483ed0990a0c | [log] [tgz] |
---|---|---|
author | Xie Yongji <xieyongji@bytedance.com> | Wed Sep 22 20:37:09 2021 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Oct 21 10:12:41 2021 -0600 |
tree | 3edbf3f5d2e18b2ab22cfdcc95e519156657457e | |
parent | f059a1d2e23a165bf86e33673c6a7535a08c6341 [diff] |
loop: Use invalidate_disk() helper to invalidate gendisk Use invalidate_disk() helper to simplify the code for gendisk invalidation. Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210922123711.187-3-xieyongji@bytedance.com Signed-off-by: Jens Axboe <axboe@kernel.dk>