aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-03-16 05:44:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-16 16:44:24 -0400
commitb1942c5f8cf3bea3a3c88a7498ae4c4361f31afe (patch)
tree0ff98cbdf75b23104df97344dcd6a35a86bbe9ec /fs/nfs/namespace.c
parentnfs: propagate devname to nfs{,4}_get_root() (diff)
downloadlinux-dev-b1942c5f8cf3bea3a3c88a7498ae4c4361f31afe.tar.xz
linux-dev-b1942c5f8cf3bea3a3c88a7498ae4c4361f31afe.zip
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/namespace.c')
0 files changed, 0 insertions, 0 deletions