]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ufs: validate maximum fast symlink size from superblock
authorDuane Griffin <duaneg@dghda.com>
Thu, 8 Jan 2009 22:43:48 +0000 (22:43 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Mar 2009 18:43:57 +0000 (14:43 -0400)
commit9e6766cc8c125cf406960a5bfdf1455473f4835c
tree9e7267e52640e7e2e2fdddedb76a3273c861e63d
parentc8fe8f30c7fe6ce6fc44a1db7d5bfa5144cd9211
ufs: validate maximum fast symlink size from superblock

The maximum fast symlink size is set in the superblock of certain types
of UFS filesystem. Before using it we need to check that it isn't longer
than the available space we have in the inode.

Signed-off-by: Duane Griffin <duaneg@dghda.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/super.c