lede/package/kernel/ksmbd/patches/02-linux-is_dot_dotdot.patch
2024-12-06 18:13:53 +08:00

12 lines
272 B
Diff

--- 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, 1, 110)
static inline bool is_dot_dotdot(const char *name, size_t len)
{
return len && unlikely(name[0] == '.') &&