d_hash_and_lookup(): export, switch open-coded instances
[sfrench/cifs-2.6.git] / fs / proc / base.c
index 760268d6cba6e4a68b9549174af066d78344d41c..9d962555972791c41d6e8d154ff53c425b300a9d 100644 (file)
@@ -2618,6 +2618,7 @@ static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid)
 
        name.name = buf;
        name.len = snprintf(buf, sizeof(buf), "%d", pid);
+       /* no ->d_hash() rejects on procfs */
        dentry = d_hash_and_lookup(mnt->mnt_root, &name);
        if (dentry) {
                shrink_dcache_parent(dentry);