From: Alex Markuze Date: Wed, 26 Feb 2025 20:10:39 +0000 (+0000) Subject: some alloc errors X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b980c3ea5fcc54aa543fd5e96212b7fb892d42a5;p=ceph-client.git some alloc errors --- diff --git a/net/ceph/ceph_san.c b/net/ceph/ceph_san.c index a54fc0ba300b..e23e50045610 100644 --- a/net/ceph/ceph_san.c +++ b/net/ceph/ceph_san.c @@ -68,8 +68,10 @@ static struct tls_ceph_san_context *get_cephsan_context(void) { return context; context = kmem_cache_alloc(ceph_san_tls_logger_cache, GFP_KERNEL); - if (!context) + if (!context) { + pr_err("Failed to allocate TLS logger for PID %d\n", current->pid); return NULL; + } context->logger.pid = current->pid; memcpy(context->logger.comm, current->comm, TASK_COMM_LEN);