[LU-13743] Build breaks with 5.4+ and CONFIG_FS_ENCRYPTION not set Created: 02/Jul/20  Updated: 08/Mar/23  Resolved: 08/Mar/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
/home/shaun/lustre-release/lustre/include/lustre_crypto.h:44:28: error: variable ‘lustre_cryptops’ has initializer but incomplete type
 #define llcrypt_operations fscrypt_operations
                            ^
/home/shaun/lustre-release/lustre/llite/crypto.c:136:14: note: in expansion of macro ‘llcrypt_operations’
 const struct llcrypt_operations lustre_cryptops = {
              ^
/home/shaun/lustre-release/lustre/llite/crypto.c:137:2: error: unknown field ‘key_prefix’ specified in initializer
  .key_prefix  = "lustre:",


 Comments   
Comment by Gerrit Updater [ 02/Jul/20 ]

Shaun Tancheff (shaun.tancheff@hpe.com) uploaded a new patch: https://review.whamcloud.com/39243
Subject: LU-13743 build: Fix 5.4 kernel without FS_ENCRYPTION
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 29e7830e4f813291990cdd2c87d0dfcd43018a2a

Comment by Gerrit Updater [ 08/Mar/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/39243/
Subject: LU-13743 build: Explicitly require encryption support
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 068e5f13fb94802ced68712ee11e7f9cb106d0ae

Comment by Cory Spitz [ 08/Mar/23 ]

Landed for 2.16.0

Generated at Sat Feb 10 03:03:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.