debugfs: prevent access to removed files' private data
[linux-2.6-microblaze.git] / fs / debugfs / internal.h
index c7aaa5c..bba5263 100644 (file)
 #define _DEBUGFS_INTERNAL_H_
 
 struct file_operations;
-struct srcu_struct;
 
 /* declared over in file.c */
 extern const struct file_operations debugfs_noop_file_operations;
 extern const struct file_operations debugfs_open_proxy_file_operations;
+extern const struct file_operations debugfs_full_proxy_file_operations;
 
-extern struct srcu_struct debugfs_srcu;
+struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode,
+                                       struct dentry *parent, void *data,
+                                       const struct file_operations *fops);
 
 #endif /* _DEBUGFS_INTERNAL_H_ */