summaryrefslogtreecommitdiff
path: root/drivers/block/rnbd/rnbd-srv.h
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@linux.dev>2023-05-24 15:00:23 +0800
committerJens Axboe <axboe@kernel.dk>2023-06-11 19:48:42 -0600
commit3ecdbf91513511fae49eb0cfa9f39f690eb4fe11 (patch)
tree777d1aad522cb8b560da560b5fda8af73ab892dc /drivers/block/rnbd/rnbd-srv.h
parentba2eed1cf8f08f1e5b1ba009ac22554f14d05342 (diff)
block/rnbd-srv: rename one member in rnbd_srv_dev
It actually represents the name of rnbd_srv_dev. Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev> Link: https://lore.kernel.org/r/20230524070026.2932-6-guoqing.jiang@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>
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 f5962fd31d62..6b5e5ade18ae 100644
--- a/drivers/block/rnbd/rnbd-srv.h
+++ b/drivers/block/rnbd/rnbd-srv.h
@@ -35,7 +35,7 @@ struct rnbd_srv_dev {
struct kobject dev_kobj;
struct kobject *dev_sessions_kobj;
struct kref kref;
- char id[NAME_MAX];
+ char name[NAME_MAX];
/* List of rnbd_srv_sess_dev structs */
struct list_head sess_dev_list;
struct mutex lock;