patch-2.1.45 linux/include/linux/file.h
Next file: linux/include/linux/fs.h
Previous file: linux/include/linux/ext2_fs.h
Back to the patch index
Back to the overall index
-  Lines: 25
-  Date:
Sun Jul 13 21:20:10 1997
-  Orig file: 
v2.1.44/linux/include/linux/file.h
-  Orig date: 
Tue May 13 22:41:18 1997
diff -u --recursive --new-file v2.1.44/linux/include/linux/file.h linux/include/linux/file.h
@@ -12,7 +12,7 @@
 	return file;
 }
 
-extern int __fput(struct file *, struct inode *);
+extern int __fput(struct file *);
 extern void insert_file_free(struct file *file);
 
 /* It does not matter which list it is on. */
@@ -23,13 +23,13 @@
 	*file->f_pprev = file->f_next;
 }
 
-extern inline int fput(struct file *file, struct inode *inode)
+extern inline int fput(struct file *file)
 {
 	int count = file->f_count-1;
 	int error = 0;
 
 	if (!count) {
-		error = __fput(file, inode);
+		error = __fput(file);
 		file->f_count = 0;
 		remove_filp(file);
 		insert_file_free(file);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov