Skip to content
  • Al Viro's avatar
    nfs: store devname at disconnected NFS roots · b1942c5f
    Al Viro authored
    
    
    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>
    b1942c5f