[GIT PULL] bcachefs fixes for 6.15-rc2
From: Kent Overstreet
Date: Thu Apr 10 2025 - 20:32:36 EST
The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:
Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)
are available in the Git repository at:
git://evilpiepirate.org/bcachefs.git tags/bcachefs-2025-04-10
for you to fetch changes up to 55fd97fbc4744a43fb2d134908e481266cf33bda:
bcachefs: Use sort_nonatomic() instead of sort() (2025-04-06 19:33:53 -0400)
----------------------------------------------------------------
bcachefs fixes for 6.15-rc2
Mostly minor fixes.
Eric Biggers' crypto API conversion is included because of long standing
sporadic crashes - mostly, but not entirely syzbot - in the crypto API
code when calling poly1305, which have been nigh impossible to reproduce
and debug. His rework deletes the code where we've seen the crashes, so
either it'll be a fix or we'll end up with backtraces we can debug.
(Thanks Eric!).
----------------------------------------------------------------
Eric Biggers (2):
bcachefs: use library APIs for ChaCha20 and Poly1305
bcachefs: Remove unnecessary softdep on xxhash
Gabriel Shahrouzi (3):
bcachefs: Fix escape sequence in prt_printf
bcachefs: Fix type for parameter in journal_advance_devs_to_next_bucket
bcachefs: Use cpu_to_le16 for dirent lengths
Kent Overstreet (3):
bcachefs: Fix UAF in bchfs_read()
bcachefs: Fix duplicate "ro,read_only" in opts at startup
bcachefs: Use sort_nonatomic() instead of sort()
fs/bcachefs/Kconfig | 5 +-
fs/bcachefs/bcachefs.h | 4 +-
fs/bcachefs/btree_journal_iter.c | 5 +-
fs/bcachefs/btree_node_scan.c | 6 +-
fs/bcachefs/btree_write_buffer.c | 8 +-
fs/bcachefs/checksum.c | 247 +++++++++------------------------------
fs/bcachefs/checksum.h | 3 +-
fs/bcachefs/data_update.c | 2 +-
fs/bcachefs/dirent.c | 4 +-
fs/bcachefs/fs-io-buffered.c | 17 ++-
fs/bcachefs/io_read.c | 3 +-
fs/bcachefs/journal_io.c | 2 +-
fs/bcachefs/recovery.c | 6 +-
fs/bcachefs/super.c | 10 --
14 files changed, 96 insertions(+), 226 deletions(-)