]> git.karo-electronics.de Git - linux-beck.git/commitdiff
exportfs: better variable name
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 18 Oct 2013 01:42:35 +0000 (21:42 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Nov 2013 05:16:38 +0000 (00:16 -0500)
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>
fs/exportfs/expfs.c

index d32ead9026f0568ffb340175017515cd64b63078..b33b9c4deea0d7cd1fe8ce0107767659ebeca841 100644 (file)
@@ -228,14 +228,14 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
        int err = -ESTALE;
 
        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 */
                        clear_disconnected(target_dir);
-                       dput(pd);
+                       dput(dentry);
                        break;
                } else {
                        struct dentry *parent;
@@ -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
                         * find parent and connect.
                         */
-                        parent = reconnect_one(mnt, pd, nbuf);
+                        parent = reconnect_one(mnt, dentry, nbuf);
                         if (!parent)
                                goto out_reconnected;
                        if (IS_ERR(parent)) {
@@ -252,7 +252,7 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
                        }
                        dput(parent);
                }
-               dput(pd);
+               dput(dentry);
        }
 
        if (target_dir->d_flags & DCACHE_DISCONNECTED) {