ext4: ensure fast symlinks are NUL-terminated
authorDuane Griffin <duaneg@dghda.com>
Fri, 19 Dec 2008 20:47:15 +0000 (20:47 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 31 Dec 2008 23:07:39 +0000 (18:07 -0500)
commite83c1397cafc4e44f868289db5e417463c0d09a4
tree1e5673897d0c7bcaad4a7e6927a7277e78525924
parentb5ed3112b5f74c8ec1c7aa03a76c596635e85197
ext4: ensure fast symlinks are NUL-terminated

Ensure fast symlink targets are NUL-terminated, even if corrupted
on-disk.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: adilger@sun.com
Cc: linux-ext4@vger.kernel.org
Signed-off-by: Duane Griffin <duaneg@dghda.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext4/inode.c