public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] btrfs-progs: add encryption support
@ 2022-09-06  0:01 Sweet Tea Dorminy
  2022-09-06  0:01 ` [PATCH 1/6] btrfs-progs: add fscrypt support to mkfs Sweet Tea Dorminy
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Sweet Tea Dorminy @ 2022-09-06  0:01 UTC (permalink / raw)
  To: linux-btrfs, kernel-team; +Cc: Sweet Tea Dorminy

This changeset is a minimal set of changes to adapt to the kernel-side
changes for encryption in [1].

While the kernel-shared files could be updated to use fscrypt_names in
closer analogue to the kernel versions of the files, that is planned as
a followup.

[1] https://lore.kernel.org/linux-btrfs/cover.1662420176.git.sweettea-kernel@dorminy.me

Changelog: 

v2:
  - updated to match kernel changeset's fscrypt extent contexts and
    changed format storing encrypted context length.
v1: 
  - https://lore.kernel.org/linux-btrfs/cover.1660729916.git.sweettea-kernel@dorminy.me

Sweet Tea Dorminy (6):
  btrfs-progs: add fscrypt support to mkfs.
  btrfs-progs: update to match renamed dir_type
  btrfs-progs: interpret encrypted file extents.
  btrfs-progs: handle fscrypt context items
  btrfs-progs: escape unprintable characters in names
  btrfs-progs: check: update inline extent length checking

 check/main.c               | 32 ++++++++++---------
 check/mode-common.c        |  4 +--
 check/mode-lowmem.c        |  6 ++--
 cmds/restore.c             |  2 +-
 common/fsfeatures.c        | 10 ++++++
 kernel-shared/ctree.h      | 51 +++++++++++++++++++++++++++---
 kernel-shared/dir-item.c   |  8 ++---
 kernel-shared/fscrypt.h    | 27 ++++++++++++++++
 kernel-shared/inode.c      |  4 ++-
 kernel-shared/print-tree.c | 64 +++++++++++++++++++++++++++++++++++---
 libbtrfsutil/btrfs.h       |  2 ++
 libbtrfsutil/btrfs_tree.h  |  3 ++
 12 files changed, 178 insertions(+), 35 deletions(-)
 create mode 100644 kernel-shared/fscrypt.h

-- 
2.35.1


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/6] btrfs-progs: add encryption support
@ 2022-08-17 14:42 Sweet Tea Dorminy
  0 siblings, 0 replies; 10+ messages in thread
From: Sweet Tea Dorminy @ 2022-08-17 14:42 UTC (permalink / raw)
  To: linux-btrfs, kernel-team; +Cc: Sweet Tea Dorminy

This changeset is a minimal set of changes to adapt to the kernel-side changes for encryption in [1].

While the kernel-shared files could be updated to use fscrypt_names in
closer analogue to the kernel versions of the files, that is planned as
a followup.

[1] https://lore.kernel.org/linux-btrfs/cover.1660744500.git.sweettea-kernel@dorminy.me

Sweet Tea Dorminy (6):
  btrfs-progs: add fscrypt feature flag.
  btrfs-progs: adjust for new dir flag.
  btrfs-progs: interpret encrypted file extents.
  btrfs-progs: handle fscrypt context items
  btrfs-progs: escape unprintable characters in names
  btrfs-progs: update inline extent length checking

 check/main.c               | 32 ++++++++++---------
 check/mode-common.c        |  4 +--
 check/mode-lowmem.c        |  6 ++--
 cmds/restore.c             |  2 +-
 common/fsfeatures.c        | 10 ++++++
 kernel-shared/ctree.h      | 48 +++++++++++++++++++++++++---
 kernel-shared/dir-item.c   |  8 ++---
 kernel-shared/fscrypt.h    | 32 +++++++++++++++++++
 kernel-shared/inode.c      |  4 ++-
 kernel-shared/print-tree.c | 64 +++++++++++++++++++++++++++++++++++---
 libbtrfsutil/btrfs.h       |  2 ++
 libbtrfsutil/btrfs_tree.h  |  3 ++
 12 files changed, 181 insertions(+), 34 deletions(-)
 create mode 100644 kernel-shared/fscrypt.h

-- 
2.35.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-09-09 11:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-06  0:01 [PATCH 0/6] btrfs-progs: add encryption support Sweet Tea Dorminy
2022-09-06  0:01 ` [PATCH 1/6] btrfs-progs: add fscrypt support to mkfs Sweet Tea Dorminy
2022-09-09 11:39   ` David Sterba
2022-09-06  0:01 ` [PATCH 2/6] btrfs-progs: update to match renamed dir_type Sweet Tea Dorminy
2022-09-06  0:01 ` [PATCH 3/6] btrfs-progs: interpret encrypted file extents Sweet Tea Dorminy
2022-09-09 11:42   ` David Sterba
2022-09-06  0:01 ` [PATCH 4/6] btrfs-progs: handle fscrypt context items Sweet Tea Dorminy
2022-09-06  0:01 ` [PATCH 5/6] btrfs-progs: escape unprintable characters in names Sweet Tea Dorminy
2022-09-06  0:01 ` [PATCH 6/6] btrfs-progs: check: update inline extent length checking Sweet Tea Dorminy
  -- strict thread matches above, loose matches on Subject: below --
2022-08-17 14:42 [PATCH 0/6] btrfs-progs: add encryption support Sweet Tea Dorminy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox