diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-08-28 22:00:12 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-09-07 17:27:36 -0700 |
commit | e06f86e61d7a67fe6e826010f57aa39c674f4b1b (patch) | |
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>