patch-2.1.56 linux/fs/proc/generic.c

Next file: linux/fs/proc/mem.c
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.55/linux/fs/proc/generic.c linux/fs/proc/generic.c
@@ -20,8 +20,7 @@
 			   char * buf, unsigned long nbytes);
 static long proc_file_write(struct inode * inode, struct file * file,
 			    const char * buffer, unsigned long count);
-static long long proc_file_lseek(struct inode * inode, struct file * file, 
-				 long long offset, int orig);
+static long long proc_file_lseek(struct file * file, long long offset, int orig);
 
 int proc_match(int len, const char *name,struct proc_dir_entry * de)
 {
@@ -190,8 +189,7 @@
 }
 
 
-static long long proc_file_lseek(struct inode * inode, struct file * file, 
-				 long long offset, int orig)
+static long long proc_file_lseek(struct file * file, long long offset, int orig)
 {
     switch (orig) {
     case 0:

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