Skip to content

backport fscrypt symlink fixes to 5.4

Eric Biggers linux-ext4 linux-f2fs-devel linux-fscrypt linux-mtd stable 1 version Applied

Status from this message: This is a note to let you know that I've just added the patch titled

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4fscrypt: add fscrypt_symlink_getattr() for computing st_sizefs/crypto/hooks.c include/linux/fscrypt.h+51 -01 reply
2/4ext4: report correct st_size for encrypted symlinksfs/ext4/symlink.c+10 -11 reply
3/4f2fs: report correct st_size for encrypted symlinksfs/f2fs/namei.c+10 -11 reply
4/4ubifs: report correct st_size for encrypted symlinksfs/ubifs/file.c+11 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 5.4 0/4] backport fscrypt symlink fixes to 5.4

This series backports some patches that failed to apply to 5.4-stable due to the prototype of inode_operations::getattr having changed in v5.12, as well several other conflicts. Please apply to 5.4-stable.

Eric Biggers (4):
fscrypt: add fscrypt_symlink_getattr() for computing st_size
ext4: report correct st_size for encrypted symlinks
f2fs: report correct st_size for encrypted symlinks
ubifs: report correct st_size for encrypted symlinks

 fs/crypto/hooks.c       | 44 +++++++++++++++++++++++++++++++++++++++++
 fs/ext4/symlink.c       | 11 ++++++++++-
 fs/f2fs/namei.c         | 11 ++++++++++-
 fs/ubifs/file.c         | 12 ++++++++++-
 include/linux/fscrypt.h |  7 +++++++
 5 files changed, 82 insertions(+), 3 deletions(-)
Signature · 1 line
2.33.0