diff options
author | Michael Halcrow <mhalcrow@google.com> | 2015-04-12 00:56:28 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-04-12 00:56:28 -0400 |
commit | 4bdfc873ba34e425d6532581b4127b960274272a (patch) | |
tree | bb025d46b0de4bee9a650ef679b0729a82b2772c /fs/ext4/ext4.h | |
parent | 2f61830ae33e2944ad66bb8bb40916f534b2e494 (diff) | |
download | linux-4bdfc873ba34e425d6532581b4127b960274272a.tar.gz linux-4bdfc873ba34e425d6532581b4127b960274272a.tar.bz2 linux-4bdfc873ba34e425d6532581b4127b960274272a.zip |
ext4 crypto: insert encrypted filenames into a leaf directory block
Signed-off-by: Uday Savagaonkar <savagaon@google.com>
Signed-off-by: Ildar Muslukhov <ildarm@google.com>
Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index ba75838f3588..5146e67e8d51 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -2151,9 +2151,11 @@ extern int ext4_find_dest_de(struct inode *dir, struct inode *inode, void *buf, int buf_size, const char *name, int namelen, struct ext4_dir_entry_2 **dest_de); -void ext4_insert_dentry(struct inode *inode, +int ext4_insert_dentry(struct inode *dir, + struct inode *inode, struct ext4_dir_entry_2 *de, int buf_size, + const struct qstr *iname, const char *name, int namelen); static inline void ext4_update_dx_flag(struct inode *inode) { |