mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ksmbd: update to Git HEAD (2024-12-02)
This commit is contained in:
parent
228c3c4403
commit
0ab7c18f48
@ -6,8 +6,8 @@ PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/namjaejeon/ksmbd.git
|
||||
PKG_SOURCE_VERSION:=0ee56e8d7da200ba5ddaa63d71fc6903919e6f99
|
||||
PKG_MIRROR_HASH:=7b244dcc78515be0d2dd4a4d2b6ec27582d8addc34654ce4ff74db4d17760aca
|
||||
PKG_SOURCE_VERSION:=6a0efcd1301d72ccd76b2f457c1d0b56702f4908
|
||||
PKG_MIRROR_HASH:=02ba5828aae66d4fac202b8c4dcb1f45beb255655927741eb293d4a257822624
|
||||
|
||||
PKG_LICENSE:=GPL-2.0-or-later
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- a/unicode.c
|
||||
+++ b/unicode.c
|
||||
@@ -8,7 +8,12 @@
|
||||
*/
|
||||
#include <linux/fs.h>
|
||||
#include <linux/slab.h>
|
||||
+#include <linux/version.h>
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0)
|
||||
#include <asm/unaligned.h>
|
||||
+#else
|
||||
+#include <linux/unaligned.h>
|
||||
+#endif
|
||||
#include "glob.h"
|
||||
#include "unicode.h"
|
||||
#include "uniupr.h"
|
11
package/kernel/ksmbd/patches/02-linux-is_dot_dotdot.patch
Normal file
11
package/kernel/ksmbd/patches/02-linux-is_dot_dotdot.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/vfs.c
|
||||
+++ b/vfs.c
|
||||
@@ -2662,7 +2662,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
-#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 9, 0)
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 60)
|
||||
static inline bool is_dot_dotdot(const char *name, size_t len)
|
||||
{
|
||||
return len && unlikely(name[0] == '.') &&
|
Loading…
Reference in New Issue
Block a user