Commit efbf201f authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Al Viro

exportfs: better variable name

Replace another unhelpful acronym.
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bbf7a8a3
...@@ -228,14 +228,14 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) ...@@ -228,14 +228,14 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
int err = -ESTALE; int err = -ESTALE;
while (target_dir->d_flags & DCACHE_DISCONNECTED) { while (target_dir->d_flags & DCACHE_DISCONNECTED) {
struct dentry *pd = find_disconnected_root(target_dir); struct dentry *dentry = find_disconnected_root(target_dir);
BUG_ON(pd == mnt->mnt_sb->s_root); BUG_ON(dentry == mnt->mnt_sb->s_root);
if (!IS_ROOT(pd)) { if (!IS_ROOT(dentry)) {
/* must have found a connected parent - great */ /* must have found a connected parent - great */
clear_disconnected(target_dir); clear_disconnected(target_dir);
dput(pd); dput(dentry);
break; break;
} else { } else {
struct dentry *parent; struct dentry *parent;
...@@ -243,7 +243,7 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) ...@@ -243,7 +243,7 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
* We have hit the top of a disconnected path, try to * We have hit the top of a disconnected path, try to
* find parent and connect. * find parent and connect.
*/ */
parent = reconnect_one(mnt, pd, nbuf); parent = reconnect_one(mnt, dentry, nbuf);
if (!parent) if (!parent)
goto out_reconnected; goto out_reconnected;
if (IS_ERR(parent)) { if (IS_ERR(parent)) {
...@@ -252,7 +252,7 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) ...@@ -252,7 +252,7 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
} }
dput(parent); dput(parent);
} }
dput(pd); dput(dentry);
} }
if (target_dir->d_flags & DCACHE_DISCONNECTED) { if (target_dir->d_flags & DCACHE_DISCONNECTED) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment