On Tue, Aug 08, 2023 at 01:08:07PM -0400, Sweet Tea Dorminy wrote: > Adding a layer of indirection between infos and prepared keys makes > everything clearer at the cost of another pointer. Now everyone sharing > a prepared key within a direct key or a master key have the same pointer > to the single prepared key. Followups move information from the > crypt_info into the prepared key, which ends up reducing memory usage > slightly. Additionally, it makes asynchronous freeing of prepared keys > possible later. > > So this change makes crypt_info->ci_enc_key a pointer and updates all > users thereof. > > Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@xxxxxxxxxx> Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef