patch-2.1.128 linux/include/linux/fs.h

Next file: linux/include/linux/kernel.h
Previous file: linux/include/linux/acct.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.127/linux/include/linux/fs.h linux/include/linux/fs.h
@@ -605,8 +605,7 @@
 	void (*truncate) (struct inode *);
 	int (*permission) (struct inode *, int);
 	int (*smap) (struct inode *,int);
-	int (*updatepage) (struct file *, struct page *, const char *,
-				unsigned long, unsigned int, int);
+	int (*updatepage) (struct file *, struct page *, unsigned long, unsigned int, int);
 	int (*revalidate) (struct dentry *);
 };
 
@@ -687,6 +686,7 @@
 extern int get_unused_fd(void);
 extern void put_unused_fd(unsigned int);
 extern int close_fp(struct file *, fl_owner_t id);
+extern struct file *filp_open(const char *, int, int);
 
 extern char * getname(const char * filename);
 extern void putname(char * name);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov