Trond Myklebust 5458bc0f9d NFS: Fix an Oops in nfs_d_automount()
[ Upstream commit 35e3b6ae84935d0d7ff76cbdaa83411b0ad5e471 ]

When mounting from a NFSv4 referral, path->dentry can end up being a
negative dentry, so derive the struct nfs_server from the dentry
itself instead.

Fixes: 2b0143b5c986 ("VFS: normal filesystems (and lustre): d_inode() annotations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-14 10:15:34 +01:00
..
2020-10-16 11:11:22 -07:00
2021-09-18 13:40:15 +02:00
2022-11-25 17:45:56 +01:00
2023-01-14 10:15:22 +01:00
2023-01-14 10:15:34 +01:00
2020-09-10 14:03:31 -07:00
2022-06-09 10:21:16 +02:00
2023-01-04 11:39:23 +01:00