]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
afs: Fix double netfs initialisation in afs_root_iget()
authorDavid Howells <dhowells@redhat.com>
Mon, 22 Jun 2026 09:08:38 +0000 (10:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 1 Jul 2026 13:26:19 +0000 (15:26 +0200)
commit733a984a4ee7345325e47efb505eebfe67b299bc
treefa21770f76a7484fbd759cd5519085e4cac1b3cf
parent0b70716081c6462be9b2928ad736d0d527b09678
afs: Fix double netfs initialisation in afs_root_iget()

Fix afs_root_iget() to leave initialisation of the netfs_inode part of the
afs_vnode to afs_inode_init_from_status().

Fixes: bc899ee1c898 ("netfs: Add a netfs inode context")
Closes: https://sashiko.dev/#/patchset/20260609081738.770127-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/20260622090856.2746629-5-dhowells@redhat.com
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/afs/inode.c