diff options
| author | 2025-09-21 15:44:05 +0300 | |
|---|---|---|
| committer | 2025-09-23 15:38:28 -0700 | |
| commit | 20015410fbdff3633418484165c694f6ceeb855b (patch) | |
| tree | 77ee82a8c884109afd4dc60b0f333976695814a8 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | nvme-core: use nvme_is_io_ctrl() for I/O controller check (diff) | |
| download | linux-rng-20015410fbdff3633418484165c694f6ceeb855b.tar.xz linux-rng-20015410fbdff3633418484165c694f6ceeb855b.zip | |
nvmet: add safety check for subsys lock
Replace comment about required lock with a lockdep_assert_held()
check in the following functions:
- nvmet_p2pmem_ns_add_p2p()
- nvmet_setup_p2p_ns_map()
- nvmet_release_p2p_ns_map()
This ensures the subsystem lock is held at runtime.
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
