Skip to content
Commit 35e3b6ae authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix an Oops in nfs_d_automount()



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: 2b0143b5 ("VFS: normal filesystems (and lustre): d_inode() annotations")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 51069e4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment