]> 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)
commit75bbd33242e6cea3684a14733bd203b3575243ad
tree04c68779c31b0b4546d293d6f7f3c5283174aa67
parentdec91f0de43dae43734709a00c9f213b295274dd
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