[PATCH 0/2] extent_buffer read cleanups

From: Tavian Barnes
Date: Mon Mar 18 2024 - 09:58:28 EST


This small series refactors some duplicated code introduced by a recent
bugfix (which was intentionally duplicated to make stable backports
easier), and adds a WARN_ON() to make it easier to debug similar issues
in the future.

Link: https://lore.kernel.org/linux-btrfs/20240317203508.GA5975@xxxxxx/T/

Tavian Barnes (2):
btrfs: New helper to clear EXTENT_BUFFER_READING
btrfs: WARN if EXTENT_BUFFER_UPTODATE is set while reading

fs/btrfs/extent_io.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)

--
2.44.0