Skip to content

backport fscrypt symlink fixes to 5.10

Eric Biggers linux-fscrypt stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4fscrypt: add fscrypt_symlink_getattr() for computing st_sizefs/crypto/hooks.c include/linux/fscrypt.h+51 -00 replies
2/4ext4: report correct st_size for encrypted symlinksfs/ext4/symlink.c+10 -10 replies
3/4f2fs: report correct st_size for encrypted symlinksfs/f2fs/namei.c+10 -10 replies
4/4ubifs: report correct st_size for encrypted symlinksfs/ubifs/file.c+11 -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 5.10 0/4] backport fscrypt symlink fixes to 5.10

This series resolves some silent cherry-pick conflicts due to the prototype of inode_operations::getattr having changed in v5.12, as well as a conflict in the ubifs patch. Please apply to 5.10-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