[GIT PULL] more 9p reverts for 6.12-rc5

From: Dominique Martinet
Date: Fri Oct 25 2024 - 17:36:49 EST


Hi Linus,

- see tip commit (simplify iget revert) for full explanation.
This problem had been ignored for too long and the reverts will also
head to stable (6.9+)
- rebased yesterday to remove the use-folio revert that was applied
directly, but patches are fairly new anyway. I'm confident this set of
patches gets us back to previous behaviour (another related patch had
already been reverted back in April and we're almost back to square 1,
and the rest didn't touch inode lifecycle)

Thanks!


The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924:

Linux 6.12-rc4 (2024-10-20 15:19:38 -0700)

are available in the Git repository at:

https://github.com/martinetd/linux tags/9p-for-6.12-rc5

for you to fetch changes up to be2ca3825372085d669d322dccd0542a90e5b434:

Revert "fs/9p: simplify iget to remove unnecessary paths" (2024-10-25 06:26:09 +0900)

----------------------------------------------------------------
Revert patches causing inode collision problems

----------------------------------------------------------------
Dominique Martinet (4):
Revert " fs/9p: mitigate inode collisions"
Revert "fs/9p: remove redundant pointer v9ses"
Revert "fs/9p: fix uaf in in v9fs_stat2inode_dotl"
Revert "fs/9p: simplify iget to remove unnecessary paths"

fs/9p/v9fs.h | 34 +++++++++++++++----
fs/9p/v9fs_vfs.h | 2 +-
fs/9p/vfs_inode.c | 129 ++++++++++++++++++++++++++++++++++++++++++++++--------------------------
fs/9p/vfs_inode_dotl.c | 112 ++++++++++++++++++++++++++++++++++++++++++++------------------
fs/9p/vfs_super.c | 2 +-
5 files changed, 192 insertions(+), 87 deletions(-)

--
Dominique Martinet | Asmadeus