patch-1.3.8 linux/fs/ext2/namei.c

Next file: linux/fs/isofs/dir.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.7/linux/fs/ext2/namei.c linux/fs/ext2/namei.c
@@ -759,7 +759,7 @@
 	for (l = 0; l < inode->i_sb->s_blocksize - 1 &&
 	     symname [l]; l++)
 		;
-	if (l >= EXT2_N_BLOCKS * sizeof (unsigned long)) {
+	if (l >= EXT2_N_BLOCKS * sizeof (__u32)) {
 
 		ext2_debug ("l=%d, normal symlink\n", l);
 

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