]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitada78d9a577c2675ad6770bbeb85cfb9fdd1a2b0
tree1ba29a05213aefe77827f268624948ad417c984a
parent646747de04ac454c3028385308db3e2b15286759
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