From: Al Viro Date: Wed, 16 Mar 2011 09:44:14 +0000 (-0400) Subject: nfs: store devname at disconnected NFS roots X-Git-Tag: v2.6.39-rc1~460^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1942c5f8cf3bea3a3c88a7498ae4c4361f31afe;p=pandora-kernel.git 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 --- Reading git-diff-tree failed