Hello!
This patch fixes following problem:
Symlink-body length check was made against incorrect value, allowing for too long nodes to be
inserted into tree. This might lead to obscure warnings in some cases.
Please apply.
Bye,
Oleg
--/9DWx/yDrRhgMJTb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="long_symlinks_fix.diff"
--- 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;
}
--/9DWx/yDrRhgMJTb--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/