procfs: fix race between symlink removals and traversals
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Feb 2015 03:16:11 +0000 (22:16 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Feb 2015 16:43:12 +0000 (11:43 -0500)
commit7e0e953bb0cf649f93277ac8fb67ecbb7f7b04a9
tree1ba29a05213aefe77827f268624948ad417c984a
parent0db59e59299f0b67450c5db21f7f316c8fb04e84
procfs: fix race between symlink removals and traversals

use_pde()/unuse_pde() in ->follow_link()/->put_link() resp.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/generic.c
fs/proc/inode.c
fs/proc/internal.h