[GIT PULL] fscrypt updates for 5.15

From: Eric Biggers
Date: Mon Aug 30 2021 - 12:47:23 EST


The following changes since commit ff1176468d368232b684f75e82563369208bc371:

Linux 5.14-rc3 (2021-07-25 15:35:14 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fscrypt-for-linus

for you to fetch changes up to 38ef66b05cfa3560323344a0b3e09e583f1eb974:

fscrypt: document struct fscrypt_operations (2021-07-28 21:40:36 -0700)

----------------------------------------------------------------

Some small fixes and cleanups for fs/crypto/:

- Fix ->getattr() for ext4, f2fs, and ubifs to report the correct
st_size for encrypted symlinks.

- Use base64url instead of a custom Base64 variant.

- Document struct fscrypt_operations.

----------------------------------------------------------------
Eric Biggers (7):
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
fscrypt: remove mention of symlink st_size quirk from documentation
fscrypt: align Base64 encoding with RFC 4648 base64url
fscrypt: document struct fscrypt_operations

Documentation/filesystems/fscrypt.rst | 15 ++---
fs/crypto/fname.c | 106 +++++++++++++++++++------------
fs/crypto/hooks.c | 44 +++++++++++++
fs/ext4/symlink.c | 12 +++-
fs/f2fs/namei.c | 12 +++-
fs/ubifs/file.c | 13 +++-
include/linux/fscrypt.h | 116 ++++++++++++++++++++++++++++++++--
7 files changed, 260 insertions(+), 58 deletions(-)