Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt
Pull fscrypt updates from Eric Biggers: - Preparations for supporting encryption on ext4 filesystems where the filesystem block size is smaller than PAGE_SIZE. - Don't allow setting encryption policies on dead directories. - Various cleanups. * tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt: fscrypt: document testing with xfstests fscrypt: remove selection of CONFIG_CRYPTO_SHA256 fscrypt: remove unnecessary includes of ratelimit.h fscrypt: don't set policy for a dead directory ext4: encrypt only up to last block in ext4_bio_write_page() ext4: decrypt only the needed block in __ext4_block_zero_page_range() ext4: decrypt only the needed blocks in ext4_block_write_begin() ext4: clear BH_Uptodate flag on decryption error fscrypt: decrypt only the needed blocks in __fscrypt_decrypt_bio() fscrypt: support decrypting multiple filesystem blocks per page fscrypt: introduce fscrypt_decrypt_block_inplace() fscrypt: handle blocksize < PAGE_SIZE in fscrypt_zeroout_range() fscrypt: support encrypting multiple filesystem blocks per page fscrypt: introduce fscrypt_encrypt_block_inplace() fscrypt: clean up some BUG_ON()s in block encryption/decryption fscrypt: rename fscrypt_do_page_crypto() to fscrypt_crypt_block() fscrypt: remove the "write" part of struct fscrypt_ctx fscrypt: simplify bounce page handling
Showing
- Documentation/filesystems/fscrypt.rst 42 additions, 1 deletionDocumentation/filesystems/fscrypt.rst
- fs/crypto/Kconfig 0 additions, 1 deletionfs/crypto/Kconfig
- fs/crypto/bio.c 20 additions, 53 deletionsfs/crypto/bio.c
- fs/crypto/crypto.c 165 additions, 134 deletionsfs/crypto/crypto.c
- fs/crypto/fname.c 0 additions, 1 deletionfs/crypto/fname.c
- fs/crypto/fscrypt_private.h 6 additions, 9 deletionsfs/crypto/fscrypt_private.h
- fs/crypto/hooks.c 0 additions, 1 deletionfs/crypto/hooks.c
- fs/crypto/keyinfo.c 0 additions, 1 deletionfs/crypto/keyinfo.c
- fs/crypto/policy.c 2 additions, 0 deletionsfs/crypto/policy.c
- fs/ext4/inode.c 23 additions, 14 deletionsfs/ext4/inode.c
- fs/ext4/page-io.c 21 additions, 23 deletionsfs/ext4/page-io.c
- fs/f2fs/data.c 8 additions, 9 deletionsfs/f2fs/data.c
- fs/ubifs/crypto.c 10 additions, 9 deletionsfs/ubifs/crypto.c
- include/linux/fscrypt.h 66 additions, 30 deletionsinclude/linux/fscrypt.h
Loading
Please register or sign in to comment