]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: add a sparse annotation to nvme_ns_head_ctrl_ioctl
authorChristoph Hellwig <hch@lst.de>
Wed, 19 May 2021 07:09:56 +0000 (09:09 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 3 Jun 2021 07:29:25 +0000 (10:29 +0300)
commit53f8a34dabc591fef93fd783a72385b09c43e24c
tree04c68779c31b0b4546d293d6f7f3c5283174aa67
parent5e1e4d33920bbc35c3822436aa9da959f9dfc551
nvme: add a sparse annotation to nvme_ns_head_ctrl_ioctl

Add the __releases annotation to tell sparse that nvme_ns_head_ctrl_ioctl
is expected to unlock head->srcu.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/ioctl.c