mbox series

[0/4] backport fscrypt symlink fixes to 4.19

Message ID 20210908215033.1122580-1-ebiggers@kernel.org
Headers show
Series backport fscrypt symlink fixes to 4.19 | expand

Message

Eric Biggers Sept. 8, 2021, 9:50 p.m. UTC
This series backports some patches that failed to apply to 4.19-stable
due to the prototype of inode_operations::getattr having changed in
v5.12, as well as several other conflicts.  Please apply to 4.19-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_notsupp.h |  6 +++++
 include/linux/fscrypt_supp.h    |  1 +
 6 files changed, 82 insertions(+), 3 deletions(-)

Comments

Greg KH Sept. 13, 2021, 9:33 a.m. UTC | #1
On Wed, Sep 08, 2021 at 02:50:29PM -0700, Eric Biggers wrote:
> This series backports some patches that failed to apply to 4.19-stable

> due to the prototype of inode_operations::getattr having changed in

> v5.12, as well as several other conflicts.  Please apply to 4.19-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_notsupp.h |  6 +++++

>  include/linux/fscrypt_supp.h    |  1 +

>  6 files changed, 82 insertions(+), 3 deletions(-)

> 

> -- 

> 2.33.0.153.gba50c8fa24-goog

> 


All now queued up, thanks!

greg k-h