patch-2.3.41 linux/fs/block_dev.c

Next file: linux/fs/dcache.c
Previous file: linux/fs/autofs4/waitq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/fs/block_dev.c linux/fs/block_dev.c
@@ -652,7 +652,7 @@
 	&def_blk_fops,		/* default file operations */
 };
 
-char * bdevname(kdev_t dev)
+const char * bdevname(kdev_t dev)
 {
 	static char buffer[32];
 	const char * name = blkdevs[MAJOR(dev)].name;

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