summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0341-fscache-fix-initialisation-of-cookie-hash-table-raw-.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 03:21:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 03:21:37 +0000
commit06343b27411344fc542f4f3a643f8441aa35252d (patch)
tree66aa45187c93c350bbdf7e6ae4467a70bf3a8f4c /debian/patches-rt/0341-fscache-fix-initialisation-of-cookie-hash-table-raw-.patch
parentMerging upstream version 4.19.260. (diff)
downloadlinux-06343b27411344fc542f4f3a643f8441aa35252d.tar.xz
linux-06343b27411344fc542f4f3a643f8441aa35252d.zip
Adding debian version 4.19.260-1.debian/4.19.260-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0341-fscache-fix-initialisation-of-cookie-hash-table-raw-.patch')
-rw-r--r--debian/patches-rt/0341-fscache-fix-initialisation-of-cookie-hash-table-raw-.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/debian/patches-rt/0341-fscache-fix-initialisation-of-cookie-hash-table-raw-.patch b/debian/patches-rt/0341-fscache-fix-initialisation-of-cookie-hash-table-raw-.patch
deleted file mode 100644
index 3be61a807..000000000
--- a/debian/patches-rt/0341-fscache-fix-initialisation-of-cookie-hash-table-raw-.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From dc029afd264318942ce9a174edffa950f762e7f9 Mon Sep 17 00:00:00 2001
-From: Gregor Beck <gbeck@esigma-technology.com>
-Date: Fri, 3 Sep 2021 14:19:11 +0200
-Subject: [PATCH 341/347] fscache: fix initialisation of cookie hash table raw
- spinlocks
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.246-rt110.tar.xz
-
-The original patch, 602660600bcd ("fscache: initialize cookie hash
-table raw spinlocks"), subtracted 1 from the shift and so still left
-some spinlocks uninitialized. This fixes that.
-
-[zanussi: Added changelog text]
-
-Signed-off-by: Gregor Beck <gregor.beck@gmail.com>
-Fixes: 602660600bcd ("fscache: initialize cookie hash table raw spinlocks")
-Signed-off-by: Tom Zanussi <zanussi@kernel.org>
-(cherry picked from commit 2cdede918a7b5f2b367e4839ad021e1d3b2479b1)
-Signed-off-by: Clark Williams <williams@redhat.com>
----
- fs/fscache/cookie.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fs/fscache/cookie.c b/fs/fscache/cookie.c
-index b2b9a85a4ba5..84e57196a293 100644
---- a/fs/fscache/cookie.c
-+++ b/fs/fscache/cookie.c
-@@ -955,6 +955,6 @@ void __init fscache_cookie_init(void)
- {
- int i;
-
-- for (i = 0; i < (1 << fscache_cookie_hash_shift) - 1; i++)
-+ for (i = 0; i < ARRAY_SIZE(fscache_cookie_hash); i++)
- INIT_HLIST_BL_HEAD(&fscache_cookie_hash[i]);
- }
---
-2.36.1
-