]> git.baikalelectronics.ru Git - kernel.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)
commit7bf86f481b6ee7ed8dbe61d3e62db708bc2b84a5
tree9e7267e52640e7e2e2fdddedb76a3273c861e63d
parent93e4324fdbd97e4454a2acd78ad88ffbdae7b3aa
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