summaryrefslogtreecommitdiff
path: root/sys-kernel/vtty/files/0002-remove-no_llseek-for-v6.12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/vtty/files/0002-remove-no_llseek-for-v6.12.patch')
-rw-r--r--sys-kernel/vtty/files/0002-remove-no_llseek-for-v6.12.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/sys-kernel/vtty/files/0002-remove-no_llseek-for-v6.12.patch b/sys-kernel/vtty/files/0002-remove-no_llseek-for-v6.12.patch
deleted file mode 100644
index 19f3437..0000000
--- a/sys-kernel/vtty/files/0002-remove-no_llseek-for-v6.12.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 7ab72cec2dbb59f0963d55f27cbc57025fc6f579 Mon Sep 17 00:00:00 2001
-From: Terin Stock <terin@terinstock.com>
-Date: Sun, 5 Jan 2025 19:51:05 +0100
-Subject: [PATCH 2/2] remove no_llseek for v6.12
-
-As of Linux v6.0 all calls to ->llseek are called through vfs_llseek and
-setting no_llseek is equivalent to leaving it as NULL. The definition of
-no_llseek was removed in v6.12.
-
-Signed-off-by: Terin Stock <terin@terinstock.com>
----
- vtty.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/vtty.c b/vtty.c
-index e086bd1..7931cde 100644
---- a/vtty.c
-+++ b/vtty.c
-@@ -684,7 +684,9 @@ static long vtmx_ioctl(struct file * filp, unsigned int cmd, unsigned long arg)
-
- static struct file_operations vtmx_fops = {
- .owner = THIS_MODULE,
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,0,0)
- .llseek = no_llseek,
-+#endif
- .read = vtmx_read,
- .write = vtmx_write,
- .poll = vtmx_poll,
---
-2.45.2
-