On Tue, Aug 08, 2023 at 01:08:01PM -0400, Sweet Tea Dorminy wrote: > setup_file_encryption_key() is doing a lot of things at the moment -- > setting the crypt_info's inline encryption bit, finding and locking a > master key, and calling the functions to get the appropriate prepared > key for this info. Since setting the inline encryption bit has nothing > to do with finding the master key, it's easy and hopefully clearer to > select the encryption implementation in fscrypt_setup_encryption_info(), > the main fscrypt_info setup function, instead of in > setup_file_encryption_key() which will long-term only deal in setting > up the prepared key for the info. > > Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@xxxxxxxxxx> Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef