Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc898cb
)
Revert "libext2fs: encrypted symlinks are never fast"
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 12 Apr 2015 22:05:07 +0000
(18:05 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 12 Apr 2015 22:05:07 +0000
(18:05 -0400)
This reverts commit
ae73e88e82946595c263e6604f8d53955826ac4f
.
The latest kernel patches will now create fast encrypted symlinks
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/valid_blk.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/valid_blk.c
b/lib/ext2fs/valid_blk.c
index
cb45000
..
db5d90a
100644
(file)
--- a/
lib/ext2fs/valid_blk.c
+++ b/
lib/ext2fs/valid_blk.c
@@
-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)