diff options
Diffstat (limited to 'fs/proc/generic.c')
-rw-r--r-- | fs/proc/generic.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index 4074da57c99e..75e08d36b2f1 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c | |||
@@ -617,3 +617,10 @@ int remove_proc_subtree(const char *name, struct proc_dir_entry *parent) | |||
617 | return 0; | 617 | return 0; |
618 | } | 618 | } |
619 | EXPORT_SYMBOL(remove_proc_subtree); | 619 | EXPORT_SYMBOL(remove_proc_subtree); |
620 | |||
621 | void *proc_get_parent_data(const struct inode *inode) | ||
622 | { | ||
623 | struct proc_dir_entry *de = PDE(inode); | ||
624 | return de->parent->data; | ||
625 | } | ||
626 | EXPORT_SYMBOL_GPL(proc_get_parent_data); | ||