Skip to content
Commit e515be8f authored by Xie Yongji's avatar Xie Yongji Committed by Jens Axboe
Browse files

loop: Use invalidate_disk() helper to invalidate gendisk



Use invalidate_disk() helper to simplify the code for gendisk
invalidation.

Signed-off-by: default avatarXie Yongji <xieyongji@bytedance.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210922123711.187-3-xieyongji@bytedance.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f059a1d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment