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
dir.c [PATCH] fix ->llseek for more directories 2008-10-23 05:13:21 -04:00
file.c
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
namei.c
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
truncate.c
ufs_fs.h
ufs.h ufs: don't truncate longer ufs2 fast symlinks 2009-03-27 14:43:58 -04:00
util.c
util.h