diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-22 04:16:11 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-22 17:43:12 +0100 |
commit | 7e0e953bb0cf649f93277ac8fb67ecbb7f7b04a9 (patch) | |
tree | 1ba29a05213aefe77827f268624948ad417c984a /fs/proc/internal.h | |
parent | debugfs: leave freeing a symlink body until inode eviction (diff) | |
download | linux-7e0e953bb0cf649f93277ac8fb67ecbb7f7b04a9.tar.xz linux-7e0e953bb0cf649f93277ac8fb67ecbb7f7b04a9.zip |
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>
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r-- | fs/proc/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 6fcdba573e0f..c835b94c0cd3 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -200,6 +200,7 @@ struct pde_opener { int closing; struct completion *c; }; +extern const struct inode_operations proc_link_inode_operations; extern const struct inode_operations proc_pid_link_inode_operations; |