patch-2.3.36 linux/fs/devices.c

Next file: linux/fs/devpts/inode.c
Previous file: linux/fs/cramfs/inflate/zutil.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.35/linux/fs/devices.c linux/fs/devices.c
@@ -265,7 +265,7 @@
 	NULL,		/* release */
 };
 
-struct inode_operations blkdev_inode_operations = {
+static struct inode_operations blkdev_inode_operations = {
 	&def_blk_fops,		/* default file operations */
 	NULL,			/* create */
 	NULL,			/* lookup */
@@ -320,7 +320,7 @@
 	NULL,		/* release */
 };
 
-struct inode_operations chrdev_inode_operations = {
+static struct inode_operations chrdev_inode_operations = {
 	&def_chr_fops,		/* default file operations */
 	NULL,			/* create */
 	NULL,			/* lookup */

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