Skip to content
Commit f77c8014 authored by Al Viro's avatar Al Viro
Browse files

bury struct proc_ns in fs/proc



a) make get_proc_ns() return a pointer to struct ns_common
b) mirror ns_ops in dentry->d_fsdata of ns dentries, so that
is_mnt_ns_file() could get away with fewer dereferences.

That way struct proc_ns becomes invisible outside of fs/proc/*.c

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 33c42940
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment