patch-1.3.98 linux/fs/proc/array.c
Next file: linux/fs/proc/mem.c
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index
-  Lines: 17
 -  Date:
Tue Apr 30 13:09:45 1996
 -  Orig file: 
v1.3.97/linux/fs/proc/array.c
 -  Orig date: 
Sat Apr 27 15:19:59 1996
 
diff -u --recursive --new-file v1.3.97/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -967,6 +967,7 @@
 extern int get_pci_list(char*);
 extern int get_md_status (char *);
 extern int get_rtc_status (char *);
+extern int get_locks_status (char *);
 #ifdef __SMP_PROF__
 extern int get_smp_prof_list(char *);
 #endif
@@ -1041,6 +1042,8 @@
 		case PROC_RTC:
 			return get_rtc_status(page);
 #endif
+		case PROC_LOCKS:
+			return get_locks_status(page);
 	}
 	return -EBADF;
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this