Revert "libext2fs: encrypted symlinks are never fast"

This reverts commit ae73e88e82.

The latest kernel patches will now create fast encrypted symlinks

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian
Theodore Ts'o 2015-04-12 18:05:07 -04:00
parent fc898cb99b
commit a6721909c2
1 changed files with 0 additions and 2 deletions

View File

@ -39,8 +39,6 @@ int ext2fs_inode_has_valid_blocks2(ext2_filsys fs, struct ext2_inode *inode)
* target is stored in the block entries.
*/
if (LINUX_S_ISLNK (inode->i_mode)) {
if (inode->i_flags & EXT4_ENCRYPT_FL)
return 1;
if (ext2fs_file_acl_block(fs, inode) == 0) {
/* With no EA block, we can rely on i_blocks */
if (inode->i_blocks == 0)