diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-16 10:44:14 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-16 21:44:24 +0100 |
commit | b1942c5f8cf3bea3a3c88a7498ae4c4361f31afe (patch) | |
tree | 0ff98cbdf75b23104df97344dcd6a35a86bbe9ec /fs/nfs/nfs4namespace.c | |
parent | nfs: propagate devname to nfs{,4}_get_root() (diff) | |
download | linux-b1942c5f8cf3bea3a3c88a7498ae4c4361f31afe.tar.xz linux-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/nfs4namespace.c')
0 files changed, 0 insertions, 0 deletions