mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
rbd: Rename encryption to blockEncryption prep for fscrypt
In preparation of fscrypt support for RBD filesystems, rename block encryption related function to include the word 'block'. Add struct fields and IsFileEncrypted. Signed-off-by: Marcel Lauhoff <marcel.lauhoff@suse.com>
This commit is contained in:
committed by
mergify[bot]
parent
624905d60d
commit
ce9fbb3474
@ -1560,7 +1560,7 @@ func (cs *ControllerServer) ControllerExpandVolume(
|
||||
// 2. Block VolumeMode with Encryption
|
||||
// Hence set nodeExpansion flag based on VolumeMode and Encryption status
|
||||
nodeExpansion := true
|
||||
if req.GetVolumeCapability().GetBlock() != nil && !rbdVol.isEncrypted() {
|
||||
if req.GetVolumeCapability().GetBlock() != nil && !rbdVol.isBlockEncrypted() {
|
||||
nodeExpansion = false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user