Skip to content
Snippets Groups Projects
Commit b1942c5f authored by Al Viro's avatar Al Viro
Browse files

nfs: store devname at disconnected NFS roots


part 2: make sure that disconnected roots have corresponding mnt_devname
values stashed into them.

Have nfs*_get_root() stuff a copy of devname into ->d_fsdata of the
found root, provided that it is disconnected.

Have ->d_release() free it when dentry goes away.

Have the places where NFS uses ->d_fsdata for sillyrename (and that
can *never* happen to a disconnected root - dentry will be attached
to its parent) free old devname copies if they find those.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 0d5839ad
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment