[GIT PULL] ext4 updates for v5.19-rc1

From: Theodore Ts'o
Date: Tue May 24 2022 - 16:10:13 EST


The following changes since commit 672c0c5173427e6b3e2a9bbb7be51ceeec78093a:

Linux 5.18-rc5 (2022-05-01 13:57:58 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus

for you to fetch changes up to 5f41fdaea63ddf96d921ab36b2af4a90ccdb5744:

ext4: only allow test_dummy_encryption when supported (2022-05-24 15:34:27 -0400)

----------------------------------------------------------------
Various bug fixes and cleanups for ext4. In particular, move the
crypto related fucntions from fs/ext4/super.c into a new
fs/ext4/crypto.c, and fix a number of bugs found by fuzzers and error
injection tools.

----------------------------------------------------------------
Baokun Li (2):
ext4: fix race condition between ext4_write and ext4_convert_inline_data
ext4: fix bug_on in __es_tree_search

Chin Yik Ming (1):
ext4: fix spelling errors in comments

Dmitry Monakhov (1):
ext4: mark group as trimmed only if it was fully scanned

Eric Biggers (3):
ext4: reject the 'commit' option on ext2 filesystems
ext4: fix memory leak in parse_apply_sb_mount_options()
ext4: only allow test_dummy_encryption when supported

Jan Kara (2):
ext4: verify dir block before splitting it
ext4: avoid cycles in directory h-tree

Jinke Han (1):
ext4: remove unnecessary code in __mb_check_buddy

Lv Ruyi (1):
ext4: remove unnecessary conditionals

Ojaswin Mujoo (2):
ext4: get rid of unused DEFAULT_MB_OPTIMIZE_SCAN
ext4: fix journal_ioprio mount option handling

Ritesh Harjani (3):
ext4: move ext4 crypto code to its own file crypto.c
ext4: cleanup function defs from ext4.h into crypto.c
ext4: refactor and move ext4_ioctl_get_encryption_pwsalt()

Theodore Ts'o (1):
ext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state

Yang Li (1):
ext4: remove duplicated #include of dax.h in inode.c

Ye Bin (3):
ext4: fix warning in ext4_handle_inode_extension
ext4: fix use-after-free in ext4_rename_dir_prepare
ext4: fix bug_on in ext4_writepages

Yu Zhe (1):
ext4: remove unnecessary type castings

Zhang Yi (3):
ext4: add unmount filesystem message
ext4: add nowait mode for ext4_getblk()
ext4: convert symlink external data block mapping to bdev

fs/ext4/Makefile | 1 +
fs/ext4/crypto.c | 246 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/ext4/dir.c | 6 +-
fs/ext4/ext4.h | 84 +++++--------------------
fs/ext4/extents.c | 20 +++---
fs/ext4/fast_commit.c | 13 ++--
fs/ext4/inline.c | 18 +++++-
fs/ext4/inode.c | 37 ++++++-----
fs/ext4/ioctl.c | 59 +-----------------
fs/ext4/mballoc.c | 25 ++++----
fs/ext4/mmp.c | 2 +-
fs/ext4/namei.c | 214 ++++++++++++++++++++++++++++++++++++---------------------------
fs/ext4/super.c | 217 ++++++++++++++++++----------------------------------------------
fs/ext4/symlink.c | 51 ++++++++++++---
14 files changed, 564 insertions(+), 429 deletions(-)
create mode 100644 fs/ext4/crypto.c