Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFS: Fix an Oops in nfs_d_automount()
[ Upstream commit 35e3b6a ] 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: 2b0143b ("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>
- Loading branch information