From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:40:51 +0000 Subject: [PATCH] disable kernel build waring --- kernel/include/linux/lockd/bind.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/lockd/bind.h b/kernel/include/linux/lockd/bind.h index 053a4ef..0520c0c 100644 --- a/kernel/include/linux/lockd/bind.h +++ b/kernel/include/linux/lockd/bind.h @@ -46,6 +46,7 @@ int noresvport; struct net *net; const struct nlmclnt_operations *nlmclnt_ops; + const struct cred *cred; }; /* @@ -75,7 +76,7 @@ }; extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data); -extern int lockd_up(struct net *net); +extern int lockd_up(struct net *net, const struct cred *cred); extern void lockd_down(struct net *net); #endif /* LINUX_LOCKD_BIND_H */ -- Gitblit v1.6.2