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

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

diff -u --recursive --new-file v2.1.117/linux/include/linux/fs.h linux/include/linux/fs.h
@@ -596,6 +596,7 @@
 	int (*ioctl) (struct inode *, struct file *, unsigned int, unsigned long);
 	int (*mmap) (struct file *, struct vm_area_struct *);
 	int (*open) (struct inode *, struct file *);
+	int (*flush) (struct file *);
 	int (*release) (struct inode *, struct file *);
 	int (*fsync) (struct file *, struct dentry *);
 	int (*fasync) (int, struct file *, int);
@@ -670,7 +671,6 @@
 extern int do_truncate(struct dentry *, unsigned long);
 extern int get_unused_fd(void);
 extern void put_unused_fd(unsigned int);
-extern int __fput(struct file *);
 extern int close_fp(struct file *, fl_owner_t id);
 
 extern char * getname(const char * filename);

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