patch-1.3.10 linux/fs/ext2/namei.c
Next file: linux/include/asm-alpha/a.out.h
Previous file: linux/drivers/sound/sound_config.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jul 12 06:41:59 1995
- Orig file:
v1.3.9/linux/fs/ext2/namei.c
- Orig date:
Tue Jul 11 10:02:58 1995
diff -u --recursive --new-file v1.3.9/linux/fs/ext2/namei.c linux/fs/ext2/namei.c
@@ -766,7 +766,7 @@
for (l = 0; l < inode->i_sb->s_blocksize - 1 &&
symname [l]; l++)
;
- if (l >= EXT2_N_BLOCKS * sizeof (__u32)) {
+ if (l >= sizeof (inode->u.ext2_i.i_data)) {
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