On 9/1/20 3:59 AM, Christoph Hellwig wrote: > We need to hold the whole device bd_mutex to protect against > other thread concurrently deleting out partition before we get > to it, and thus causing a use after free. Applied, fixed up an extra space while doing so. -- Jens Axboe