commit | 614def7013574ffcd54019b6df40ac1c0df754af | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun May 31 13:31:34 2015 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun May 31 13:31:34 2015 -0400 |
tree | 50549389b403fac7179bc6f93ecb178091ad4c31 | |
parent | 1aaa6e8b24114757a836ae0e62d2096deb76f274 [diff] |
ext4 crypto: shrink size of the ext4_crypto_ctx structure Some fields are only used when the crypto_ctx is being used on the read path, some are only used on the write path, and some are only used when the structure is on free list. Optimize memory use by using a union. Signed-off-by: Theodore Ts'o <tytso@mit.edu>