Skip to content
Snippets Groups Projects
Commit d9dda78b authored by Al Viro's avatar Al Viro
Browse files

procfs: new helper - PDE_DATA(inode)


The only part of proc_dir_entry the code outside of fs/proc
really cares about is PDE(inode)->data.  Provide a helper
for that; static inline for now, eventually will be moved
to fs/proc, along with the knowledge of struct proc_dir_entry
layout.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8510e30b
No related branches found
No related tags found
Loading
Showing
with 43 additions and 59 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment