From: Alex Markuze Date: Tue, 18 Mar 2025 16:43:15 +0000 (+0000) Subject: fixups X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9495b02e6b633fc0f6e49e52b4c8a101436a6d9f;p=ceph-client.git fixups --- diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c index abd88a31f814..1a8128da66ea 100644 --- a/fs/ceph/debugfs.c +++ b/fs/ceph/debugfs.c @@ -404,8 +404,6 @@ static int ceph_san_tls_show(struct seq_file *s, void *p) spin_lock(&g_logger.lock); list_for_each_entry(ctx, &g_logger.contexts, list) { - /* Print context information */ - seq_printf(s, "Context: PID=%d Command=%s\n", ctx->pid, ctx->comm); /* Initialize iterator for this context's pagefrag */ ceph_san_log_iter_init(&iter, &ctx->pf); diff --git a/net/ceph/ceph_san_logger.c b/net/ceph/ceph_san_logger.c index f423bc6d691c..0c43c38b2e38 100644 --- a/net/ceph/ceph_san_logger.c +++ b/net/ceph/ceph_san_logger.c @@ -103,6 +103,8 @@ struct ceph_san_tls_ctx *ceph_san_get_tls_ctx(void) current->tls.release = ceph_san_tls_release; task_state_to_char(current); ctx->task = current; + ctx->pid = current->pid; + strncpy(ctx->comm, current->comm, sizeof(ctx->comm)); return ctx; } EXPORT_SYMBOL(ceph_san_get_tls_ctx);