Skip to content
Commit 614def70 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatarTheodore Ts'o <tytso@mit.edu>
parent 1aaa6e8b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment