[RFC PATCH 4/8] common/encrypt: enable making a encrypted btrfs filesystem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: linux-btrfs@xxxxxxxxxxxxxxx, fstests@xxxxxxxxxxxxxxx, kernel-team@xxxxxxxx, ebiggers@xxxxxxxxxx, anand.jain@xxxxxxxxxx, fdmanana@xxxxxxxx, linux-fscrypt@xxxxxxxxxxxxxxx, fsverity@xxxxxxxxxxxxxxx, zlang@xxxxxxxxxx
- Subject: [RFC PATCH 4/8] common/encrypt: enable making a encrypted btrfs filesystem
- From: Sweet Tea Dorminy <sweettea-kernel@xxxxxxxxxx>
- Date: Thu, 29 Jun 2023 18:17:19 -0400
- In-reply-to: <cover.1688076612.git.sweettea-kernel@dorminy.me>
- References: <cover.1688076612.git.sweettea-kernel@dorminy.me>
Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@xxxxxxxxxx>
---
common/encrypt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/common/encrypt b/common/encrypt
index 2c1925da..1372af66 100644
--- a/common/encrypt
+++ b/common/encrypt
@@ -153,6 +153,9 @@ _scratch_mkfs_encrypted()
# erase the UBI volume; reformated automatically on next mount
$UBIUPDATEVOL_PROG ${SCRATCH_DEV} -t
;;
+ btrfs)
+ _scratch_mkfs
+ ;;
ceph)
_scratch_cleanup_files
;;
@@ -168,6 +171,9 @@ _scratch_mkfs_sized_encrypted()
ext4|f2fs)
MKFS_OPTIONS="$MKFS_OPTIONS -O encrypt" _scratch_mkfs_sized $*
;;
+ btrfs)
+ _scratch_mkfs_sized $*
+ ;;
*)
_notrun "Filesystem $FSTYP not supported in _scratch_mkfs_sized_encrypted"
;;
--
2.40.1
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]