Trond Myklebust 35e3b6ae84 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: 2b0143b5c986 ("VFS: normal filesystems (and lustre): d_inode() annotations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2022-11-27 22:10:00 -05:00
..
2022-08-10 14:04:32 -07:00
2022-10-13 09:58:42 -07:00
2022-05-09 23:12:33 -04:00
2022-10-13 09:58:42 -07:00
2021-04-05 09:04:20 -04:00
2022-10-13 09:58:42 -07:00
2022-05-09 16:36:48 -04:00
2022-09-12 17:53:46 -04:00