patch-2.2.7 linux/include/linux/proc_fs.h
Next file: linux/include/linux/qnx4_fs.h
Previous file: linux/include/linux/pci.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Apr 28 08:47:39 1999
- Orig file:
v2.2.6/linux/include/linux/proc_fs.h
- Orig date:
Fri Apr 16 14:47:31 1999
diff -u --recursive --new-file v2.2.6/linux/include/linux/proc_fs.h linux/include/linux/proc_fs.h
@@ -382,7 +382,7 @@
* of the /proc/<pid> subdirectories.
*/
extern int proc_readdir(struct file *, void *, filldir_t);
-extern int proc_lookup(struct inode *, struct dentry *);
+extern struct dentry *proc_lookup(struct inode *, struct dentry *);
struct openpromfs_dev {
struct openpromfs_dev *next;
@@ -394,7 +394,7 @@
};
extern struct inode_operations *
proc_openprom_register(int (*readdir)(struct file *, void *, filldir_t),
- int (*lookup)(struct inode *, struct dentry *),
+ struct dentry * (*lookup)(struct inode *, struct dentry *),
void (*use)(struct inode *, int),
struct openpromfs_dev ***);
extern void proc_openprom_deregister(void);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)