--- linux-2.5.3-pre3/fs/reiserfs/namei.c.orig Wed Jan 23 20:19:07 2002
+++ linux-2.5.3-pre3/fs/reiserfs/namei.c Wed Jan 23 20:20:58 2002
@@ -875,7 +875,7 @@
}
item_len = ROUND_UP (strlen (symname));
- if (item_len > MAX_ITEM_LEN (dir->i_sb->s_blocksize)) {
+ if (item_len > MAX_DIRECT_ITEM_LEN (dir->i_sb->s_blocksize)) {
iput(inode) ;
return -ENAMETOOLONG;
}