diff options
author | Christoph Hellwig <hch@lst.de> | 2021-05-19 09:02:59 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-06-03 10:29:25 +0300 |
commit | f423c85cd392241f1521887b1396038cd1e4c68e (patch) | |
tree | 623607f6496b093f19144aa3b02326af421fdf70 /drivers/ide/cmd64x.c | |
parent | 97ba6931ba881ea23f3758bbbde7a07a98bff4f9 (diff) |
nvme: open code nvme_put_ns_from_disk in nvme_ns_head_chr_ioctl
nvme_ns_head_chr_ioctl is always used on multipath nodes, so just call
srcu_read_unlock and consolidate the two unlock paths.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/ide/cmd64x.c')
0 files changed, 0 insertions, 0 deletions