Commit 58a69893 authored by Markus Elfring's avatar Markus Elfring Committed by Trond Myklebust

lockd: Delete an error message for a failed memory allocation in reclaimer()

Omit an extra message for a memory allocation failure in this function.

This issue was detected by using the Coccinelle software.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 03c6f7d6
...@@ -235,12 +235,8 @@ reclaimer(void *ptr) ...@@ -235,12 +235,8 @@ reclaimer(void *ptr)
struct net *net = host->net; struct net *net = host->net;
req = kmalloc(sizeof(*req), GFP_KERNEL); req = kmalloc(sizeof(*req), GFP_KERNEL);
if (!req) { if (!req)
printk(KERN_ERR "lockd: reclaimer unable to alloc memory."
" Locks for %s won't be reclaimed!\n",
host->h_name);
return 0; return 0;
}
allow_signal(SIGKILL); allow_signal(SIGKILL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment