Skip to content

Commit efbf201

Browse files
J. Bruce FieldsAl Viro
authored andcommitted
exportfs: better variable name
Replace another unhelpful acronym. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent bbf7a8a commit efbf201

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎fs/exportfs/expfs.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,22 +228,22 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
228228
int err = -ESTALE;
229229

230230
while (target_dir->d_flags & DCACHE_DISCONNECTED) {
231-
struct dentry *pd = find_disconnected_root(target_dir);
231+
struct dentry *dentry = find_disconnected_root(target_dir);
232232

233-
BUG_ON(pd == mnt->mnt_sb->s_root);
233+
BUG_ON(dentry == mnt->mnt_sb->s_root);
234234

235-
if (!IS_ROOT(pd)) {
235+
if (!IS_ROOT(dentry)) {
236236
/* must have found a connected parent - great */
237237
clear_disconnected(target_dir);
238-
dput(pd);
238+
dput(dentry);
239239
break;
240240
} else {
241241
struct dentry *parent;
242242
/*
243243
* We have hit the top of a disconnected path, try to
244244
* find parent and connect.
245245
*/
246-
parent = reconnect_one(mnt, pd, nbuf);
246+
parent = reconnect_one(mnt, dentry, nbuf);
247247
if (!parent)
248248
goto out_reconnected;
249249
if (IS_ERR(parent)) {
@@ -252,7 +252,7 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
252252
}
253253
dput(parent);
254254
}
255-
dput(pd);
255+
dput(dentry);
256256
}
257257

258258
if (target_dir->d_flags & DCACHE_DISCONNECTED) {

0 commit comments

Comments
 (0)