Whamcloud - gitweb
libext2fs: encrypted symlinks are never fast
authorTheodore Ts'o <tytso@mit.edu>
Sun, 1 Mar 2015 21:58:46 +0000 (16:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 1 Mar 2015 21:58:46 +0000 (16:58 -0500)
commitae73e88e82946595c263e6604f8d53955826ac4f
treec58522437aa5f18cf952517a3c85ab7c02e44f98
parent321f3446f38d429bbfafec2885e7e6a6353cce1f
libext2fs: encrypted symlinks are never fast

Teach ext2fs_inodes_has_valid_blocks2() that encrypted symlinks always
use an external block (i.e., we never try to store the symlink in the
i_blocks[] array if it is encrypted).

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/valid_blk.c