kernel_optimize_test/fs/ufs
Duane Griffin f33219b7a9 ufs: don't truncate longer ufs2 fast symlinks
ufs2 fast symlinks can be twice as long as ufs ones, however the code
was using the ufs size in various places. Fix that so ufs2 symlinks over
60 characters aren't truncated.

Note that we copy the entire area instead of using the maxsymlinklen field
from the superblock. This way we will be more robust against corruption (of
the superblock).

While we are at it, use memcpy instead of open-coding it with for loops.

Signed-off-by: Duane Griffin <duaneg@dghda.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2009-03-27 14:43:58 -04:00
..
balloc.c ufs: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:45 -07:00
cylinder.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
dir.c [PATCH] fix ->llseek for more directories 2008-10-23 05:13:21 -04:00
file.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
ialloc.c CRED: Wrap task credential accesses in the UFS filesystem 2008-11-14 10:39:04 +11:00
inode.c ufs: don't truncate longer ufs2 fast symlinks 2009-03-27 14:43:58 -04:00
Kconfig fs/Kconfig: move ufs out 2009-01-22 13:16:00 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
super.c ufs: validate maximum fast symlink size from superblock 2009-03-27 14:43:57 -04:00
swab.h ufs: replace __inline with inline 2008-04-28 08:58:45 -07:00
symlink.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
truncate.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
ufs_fs.h drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
ufs.h ufs: don't truncate longer ufs2 fast symlinks 2009-03-27 14:43:58 -04:00
util.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
util.h ufs: fix parenthesisation in ufs_set_fs_state() 2008-02-23 17:12:13 -08:00