Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7257f9d1 authored by Simon Guo's avatar Simon Guo Committed by Greg Kroah-Hartman
Browse files

STAGING: Declare request_cache as static for drivers/staging/lustre/lustre/ptlrpc/client.c



Declare request_cache variable as static. It is only used by
drivers/staging/lustre/lustre/ptlrpc/client.c, and its naming is common
which will lead to namespace pollution.

Signed-off-by: default avatarSimon Guo <wei.guo.simon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 758ed62b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -390,7 +390,7 @@ static int ptlrpc_at_recv_early_reply(struct ptlrpc_request *req)
	return rc;
}

struct kmem_cache *request_cache;
static struct kmem_cache *request_cache;

int ptlrpc_request_cache_init(void)
{