patch-1.3.15 linux/fs/ext2/dir.c

Next file: linux/fs/ext2/file.c
Previous file: linux/fs/ext/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/fs/ext2/dir.c linux/fs/ext2/dir.c
@@ -69,11 +69,11 @@
 	NULL			/* smap */
 };
 
-int ext2_check_dir_entry (char * function, struct inode * dir,
+int ext2_check_dir_entry (const char * function, struct inode * dir,
 			  struct ext2_dir_entry * de, struct buffer_head * bh,
 			  unsigned long offset)
 {
-	char * error_msg = NULL;
+	const char * error_msg = NULL;
 
 	if (de->rec_len < EXT2_DIR_REC_LEN(1))
 		error_msg = "rec_len is smaller than minimal";

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