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/sunrpc/auth_gss.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/kernel/include/linux/sunrpc/auth_gss.h b/kernel/include/linux/sunrpc/auth_gss.h
index 0c9eac3..43e481a 100644
--- a/kernel/include/linux/sunrpc/auth_gss.h
+++ b/kernel/include/linux/sunrpc/auth_gss.h
@@ -13,7 +13,6 @@
 #ifndef _LINUX_SUNRPC_AUTH_GSS_H
 #define _LINUX_SUNRPC_AUTH_GSS_H
 
-#ifdef __KERNEL__
 #include <linux/refcount.h>
 #include <linux/sunrpc/auth.h>
 #include <linux/sunrpc/svc.h>
@@ -70,6 +69,7 @@
 	refcount_t		count;
 	enum rpc_gss_proc	gc_proc;
 	u32			gc_seq;
+	u32			gc_seq_xmit;
 	spinlock_t		gc_seq_lock;
 	struct gss_ctx		*gc_gss_ctx;
 	struct xdr_netobj	gc_wire_ctx;
@@ -89,6 +89,5 @@
 	unsigned long		gc_upcall_timestamp;
 };
 
-#endif /* __KERNEL__ */
 #endif /* _LINUX_SUNRPC_AUTH_GSS_H */
 

--
Gitblit v1.6.2