patch-2.2.19 linux/fs/proc/array.c

Next file: linux/fs/read_write.c
Previous file: linux/fs/open.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/fs/proc/array.c linux/fs/proc/array.c
@@ -1329,7 +1329,7 @@
 extern int get_ksyms_list(char *, char **, off_t, int);
 #endif
 extern int get_device_list(char *);
-extern int get_partition_list(char *);
+extern int get_partition_list(char *, char **, off_t, int);
 extern int get_filesystem_list(char *);
 extern int get_filesystem_info( char * );
 #ifndef CONFIG_ARCH_S390
@@ -1397,7 +1397,7 @@
 			return get_device_list(page);
 
 		case PROC_PARTITIONS:
-			return get_partition_list(page);
+			return get_partition_list(page, start, offset, length);
 #ifndef CONFIG_ARCH_S390
 		case PROC_INTERRUPTS:
 			return get_irq_list(page);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)