summaryrefslogtreecommitdiff
path: root/drivers/block/rnbd/rnbd-srv.h
diff options
context:
space:
mode:
authorVaishali Thakkar <vaishali.thakkar@ionos.com>2022-01-05 21:07:07 +0300
committerJason Gunthorpe <jgg@nvidia.com>2022-01-07 17:07:31 +0300
commitf7ecac6a0927fba05321fd2997d33688ee547f21 (patch)
tree4acb3d1ca8b7540a7e63624ab600e6d968cacc00 /drivers/block/rnbd/rnbd-srv.h
parentcaa84d95c78f35168847e2ab861a3a7f87033d36 (diff)
downloadlinux-f7ecac6a0927fba05321fd2997d33688ee547f21.tar.xz
RDMA/rtrs-srv: Rename rtrs_srv to rtrs_srv_sess
Structure rtrs_srv is used for sessions so in order to avoid confusions rename it to rtrs_srv_sess. All changes were done with the help of following Coccinelle script: @@ @@ struct - rtrs_srv + rtrs_srv_sess Link: https://lore.kernel.org/r/20220105180708.7774-5-jinpu.wang@ionos.com Signed-off-by: Vaishali Thakkar <vaishali.thakkar@ionos.com> Signed-off-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/block/rnbd/rnbd-srv.h')
-rw-r--r--drivers/block/rnbd/rnbd-srv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rnbd/rnbd-srv.h b/drivers/block/rnbd/rnbd-srv.h
index 98ddc31eb408..e5604bce123a 100644
--- a/drivers/block/rnbd/rnbd-srv.h
+++ b/drivers/block/rnbd/rnbd-srv.h
@@ -20,7 +20,7 @@
struct rnbd_srv_session {
/* Entry inside global sess_list */
struct list_head list;
- struct rtrs_srv *rtrs;
+ struct rtrs_srv_sess *rtrs;
char sessname[NAME_MAX];
int queue_depth;
struct bio_set sess_bio_set;