On Thu, 6 Jan 2022 18:53:16 +0900, Tetsuo Handa wrote: > If brd_alloc() from brd_probe() is called before brd_alloc() from > brd_init() is called, module loading will fail with -EEXIST error. > To close this race, call __register_blkdev() just before leaving > brd_init(). > > Then, we can remove brd_devices_mutex mutex, for brd_device list > will no longer be accessed concurrently. > > [...] Applied, thanks! [1/1] brd: remove brd_devices_mutex mutex commit: 00358933f66c44d511368a57eb421e172447cfb9 Best regards, -- Jens Axboe