--- linux/fs/reiserfs/namei.c.orig	Tue Jan  8 15:39:24 2002
+++ linux/fs/reiserfs/namei.c	Tue Jan  8 15:39:46 2002
@@ -876,7 +876,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;
     }
