diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-08-28 16:00:12 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-09-08 02:27:36 +0200 |
commit | e06f86e61d7a67fe6e826010f57aa39c674f4b1b (patch) | |
tree | 5f58117677c9badb7416822464f19354fdc2553d /fs/f2fs/inline.c | |
parent | f2fs: fix to do security initialization of encrypted inode with original file... (diff) | |
download | linux-e06f86e61d7a67fe6e826010f57aa39c674f4b1b.tar.xz linux-e06f86e61d7a67fe6e826010f57aa39c674f4b1b.zip |
f2fs crypto: avoid unneeded memory allocation in ->readdir
When decrypting dirents in ->readdir, fscrypt_fname_disk_to_usr won't
change content of original encrypted dirent, we don't need to allocate
additional buffer for storing mirror of it, so get rid of it.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions