# Re: \[PATCH v2\] block: genhd: don't call probe function with major\_names\_lock held

- From: Christoph Hellwig \<hch@infradead.org\>
- Date: 2021-06-21 06:20:05 
- List: linux-kernel-mentees
- Page: https://ratatoskr.run/linux-kernel-mentees/2021/06/1420366
- Thread: https://ratatoskr.run/linux-block/2021/06/1419777/t.md

```text
The obvious fix is to not call unregister_blkdev under loop_ctl_mutex.
Which is pretty pointless anyway - I have a series to fix that but it
might need some reordering to move this to the front.
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
```
