aboutsummaryrefslogtreecommitdiff
path: root/fs/sysv/ialloc.c
diff options
context:
space:
mode:
authorDuane Griffin <duaneg@dghda.com>2009-01-08 22:43:49 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2009-03-27 14:43:58 -0400
commitf33219b7a90c4779a0b59e11fb35ebc4542db328 (patch)
treea5ed8dea0850d8f9ac8d19a5477c6bbdea3fe5ce /fs/sysv/ialloc.c
parent9e6766cc8c125cf406960a5bfdf1455473f4835c (diff)
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>
Diffstat (limited to 'fs/sysv/ialloc.c')
0 files changed, 0 insertions, 0 deletions