From 280906b440eb6040fef2b2523a5eeaf48f0ffcb0 Mon Sep 17 00:00:00 2001 From: liuzerun Date: Thu, 14 Dec 2023 03:59:45 +0000 Subject: [PATCH] show_cid Signed-off-by: liuzerun --- fs/hmdfs/comm/device_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/hmdfs/comm/device_node.c b/fs/hmdfs/comm/device_node.c index 796e5cd09a72..dada0cdb061f 100644 --- a/fs/hmdfs/comm/device_node.c +++ b/fs/hmdfs/comm/device_node.c @@ -262,7 +262,7 @@ static ssize_t sbi_status_show(struct kobject *kobj, struct sbi_attribute *attr, mutex_lock(&sbi->connections.node_lock); list_for_each_entry(peer, &sbi->connections.node_list, list) { - size += sprintf(buf + size, "%llu %d\n", peer->device_id, + size += sprintf(buf + size, "%s %d\n", peer->cid, peer->status); // connection information size += sprintf( -- Gitee