]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
some alloc errors
authorAlex Markuze <amarkuze@redhat.com>
Wed, 26 Feb 2025 20:10:39 +0000 (20:10 +0000)
committerAlex Markuze <amarkuze@redhat.com>
Wed, 26 Feb 2025 20:10:39 +0000 (20:10 +0000)
net/ceph/ceph_san.c

index a54fc0ba300b59e7a7487fefba5717b6f14adf03..e23e50045610cb61b6768e58fdb26a8b3782fd5f 100644 (file)
@@ -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);