patch-1.3.98 linux/fs/proc/root.c

Next file: linux/include/asm-alpha/fcntl.h
Previous file: linux/fs/proc/mem.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.97/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -358,6 +358,10 @@
 		S_IFREG | S_IRUGO, 1, 0, 0,
 	});
 #endif
+	proc_register(&proc_root, &(struct proc_dir_entry) {
+		PROC_LOCKS, 5, "locks",
+		S_IFREG | S_IRUGO, 1, 0, 0,
+	});
 
 	proc_register( &proc_root, &(struct proc_dir_entry)
 	   { PROC_MTAB, 6, "mounts", S_IFREG | S_IRUGO, 1, 0, 0, } );

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