diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-25 14:19:36 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2020-03-26 04:51:56 +0900 |
commit | 026d2ef752f47f33efd92244b9cf6be65d2a1621 (patch) | |
tree | 86d46ed757aebb73f3bf4a78cf7053bc779d77ed /drivers/nvme | |
parent | fb314eb0cbb2e11540d1ae1a7b28346397f621ef (diff) | |
download | linux-stable-026d2ef752f47f33efd92244b9cf6be65d2a1621.tar.gz linux-stable-026d2ef752f47f33efd92244b9cf6be65d2a1621.tar.bz2 linux-stable-026d2ef752f47f33efd92244b9cf6be65d2a1621.zip |
nvme: rename __nvme_find_ns_head to nvme_find_ns_head
There is no non __-prefixed version, so make the name a little more
readable.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme')
-rw-r--r-- | drivers/nvme/host/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 6bd1c6dfac6b..56a0dc18ed2d 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -3357,7 +3357,7 @@ static const struct attribute_group *nvme_dev_attr_groups[] = { NULL, }; -static struct nvme_ns_head *__nvme_find_ns_head(struct nvme_subsystem *subsys, +static struct nvme_ns_head *nvme_find_ns_head(struct nvme_subsystem *subsys, unsigned nsid) { struct nvme_ns_head *h; @@ -3457,7 +3457,7 @@ static int nvme_init_ns_head(struct nvme_ns *ns, unsigned nsid, mutex_lock(&ctrl->subsys->lock); if (is_shared) - head = __nvme_find_ns_head(ctrl->subsys, nsid); + head = nvme_find_ns_head(ctrl->subsys, nsid); if (!head) { head = nvme_alloc_ns_head(ctrl, nsid, id); if (IS_ERR(head)) { |