-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Linux: 6.12.1 * drbd: 9.2.12 * NVIDIA: minor bumps * ZFS: `main` version (temporary) Signed-off-by: Andrey Smirnov <[email protected]>
- Loading branch information
Showing
25 changed files
with
1,230 additions
and
1,576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
https://patch-diff.githubusercontent.com/raw/google/gasket-driver/pull/35.patch | ||
|
||
From 4b2a1464f3b619daaf0f6c664c954a42c4b7ce00 Mon Sep 17 00:00:00 2001 | ||
From: Rudi Heitbaum <[email protected]> | ||
Date: Sat, 26 Oct 2024 11:06:10 +0000 | ||
Subject: [PATCH] stop using no_llseek | ||
|
||
Since commit 868941b ("fs: remove no_llseek"), no_llseek() is | ||
simply defined to be NULL, and a NULL llseek means seeking is | ||
unsupported. | ||
|
||
refs: | ||
- https://github.com/torvalds/linux/commit/cb787f4ac0c2e439ea8d7e6387b925f74576bdf8 | ||
- https://github.com/torvalds/linux/commit/868941b14441282ba08761b770fc6cad69d5bdb7 | ||
|
||
no_llseek has been hard dropped in linux-6.12 | ||
|
||
Signed-off-by: Rudi Heitbaum <[email protected]> | ||
--- | ||
src/gasket_core.c | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/src/gasket_core.c b/src/gasket_core.c | ||
index b1c2726..5402e2a 100644 | ||
--- a/src/gasket_core.c | ||
+++ b/src/gasket_core.c | ||
@@ -1373,7 +1373,9 @@ static long gasket_ioctl(struct file *filp, uint cmd, ulong arg) | ||
/* File operations for all Gasket devices. */ | ||
static const struct file_operations gasket_file_ops = { | ||
.owner = THIS_MODULE, | ||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0) | ||
.llseek = no_llseek, | ||
+#endif | ||
.mmap = gasket_mmap, | ||
.open = gasket_open, | ||
.release = gasket_release, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.