Skip to content

backport some more fscrypt fixes to 4.9

Eric Biggers linux-ext4 linux-f2fs-devel linux-fscrypt stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fscrypto: move ioctl processing more fully into common codefs/crypto/policy.c fs/ext4/ext4.h fs/ext4/ioctl.c +3 more+38 -690 replies
2/2fscrypt: use EEXIST when file already uses different policyfs/crypto/policy.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 4.9 0/2] backport some more fscrypt fixes to 4.9

Backport some fscrypt fixes from 4.10 and 4.11 to 4.9-stable. These will be needed for xfstest generic/395 to pass if
https://lkml.kernel.org/fstests/[email protected]
is applied.

These are clean cherry picks.

Tested with 'kvm-xfstests -c ext4,f2fs -g encrypt'.

Eric Biggers (2):
fscrypto: move ioctl processing more fully into common code
fscrypt: use EEXIST when file already uses different policy

 fs/crypto/policy.c       | 36 ++++++++++++++++++++++--------------
 fs/ext4/ext4.h           |  4 ++--
 fs/ext4/ioctl.c          | 34 +++++-----------------------------
 fs/f2fs/f2fs.h           |  4 ++--
 fs/f2fs/file.c           | 19 ++-----------------
 include/linux/fscrypto.h | 12 ++++++------
 6 files changed, 39 insertions(+), 70 deletions(-)
Signature · 1 line
2.29.1