]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop pidfs-move-to-anonymous-struct.patch
authorSasha Levin <sashal@kernel.org>
Mon, 25 Aug 2025 11:59:17 +0000 (07:59 -0400)
committerSasha Levin <sashal@kernel.org>
Mon, 25 Aug 2025 11:59:17 +0000 (07:59 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-6.16/pidfs-move-to-anonymous-struct.patch [deleted file]
queue-6.16/series

diff --git a/queue-6.16/pidfs-move-to-anonymous-struct.patch b/queue-6.16/pidfs-move-to-anonymous-struct.patch
deleted file mode 100644 (file)
index 7392ba8..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-From 4c0f467c619d0226966270385e884d37fa8703d2 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 18 Jun 2025 22:53:38 +0200
-Subject: pidfs: move to anonymous struct
-
-From: Christian Brauner <brauner@kernel.org>
-
-[ Upstream commit 75215c972581d3934e76a57690cf838d7ceab399 ]
-
-Move the pidfs entries to an anonymous struct.
-
-Link: https://lore.kernel.org/20250618-work-pidfs-persistent-v2-4-98f3456fd552@kernel.org
-Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
-Signed-off-by: Christian Brauner <brauner@kernel.org>
-Stable-dep-of: 0b2d71a7c826 ("pidfs: Fix memory leak in pidfd_info()")
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- include/linux/pid.h | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/include/linux/pid.h b/include/linux/pid.h
-index 453ae6d8a68d..00646a692dd4 100644
---- a/include/linux/pid.h
-+++ b/include/linux/pid.h
-@@ -52,14 +52,15 @@ struct upid {
-       struct pid_namespace *ns;
- };
--struct pid
--{
-+struct pid {
-       refcount_t count;
-       unsigned int level;
-       spinlock_t lock;
--      struct dentry *stashed;
--      u64 ino;
--      struct rb_node pidfs_node;
-+      struct {
-+              u64 ino;
-+              struct rb_node pidfs_node;
-+              struct dentry *stashed;
-+      };
-       /* lists of tasks that use this pid */
-       struct hlist_head tasks[PIDTYPE_MAX];
-       struct hlist_head inodes;
--- 
-2.50.1
-
index d77cb16e05dba1cae7eed74970e2c2b435ca60fb..d6952483ef1e0f31cb1d1b130a3f08efeda55542 100644 (file)
@@ -283,7 +283,6 @@ fs-fix-incorrect-lflags-value-in-the-move_mount-sysc.patch
 btrfs-zoned-fix-data-relocation-block-group-reservat.patch
 fhandle-do_handle_open-should-get-fd-with-user-flags.patch
 libfs-massage-path_from_stashed-to-allow-custom-stas.patch
-pidfs-move-to-anonymous-struct.patch
 smb-server-split-ksmbd_rdma_stop_listening-out-of-ks.patch
 fs-buffer-fix-use-after-free-when-call-bh_read-helpe.patch
 signal-fix-memory-leak-for-pidfd_self-sentinels.patch