commit | e06f86e61d7a67fe6e826010f57aa39c674f4b1b | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Sun Aug 28 22:00:12 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Sep 07 17:27:36 2016 -0700 |
tree | 5f58117677c9badb7416822464f19354fdc2553d | |
parent | 9421d57051c534c7477f98d0576b876237fbbc4c [diff] |
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>