summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-15 10:49:56 +0100
committerIngo Molnar <mingo@elte.hu>2009-11-15 10:49:56 +0100
commitbea6e29b527f7fb2a8dccd84996473fb02505d96 (patch)
treebbd46e200477a6177ec93d706a6fc08f005d4ce1 /fs/proc
parent85b4fc1bbf160dbfc21e460d33b175bf7dd7ff65 (diff)
parenta9366e61b03f55a6e009e687ad10e706714c9907 (diff)
Merge branch 'linus' into auto-latest
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/base.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 837469a96598..af643b5aefe8 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -2597,8 +2597,7 @@ static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid)
name.len = snprintf(buf, sizeof(buf), "%d", pid);
dentry = d_hash_and_lookup(mnt->mnt_root, &name);
if (dentry) {
- if (!(current->flags & PF_EXITING))
- shrink_dcache_parent(dentry);
+ shrink_dcache_parent(dentry);
d_drop(dentry);
dput(dentry);
}