Skip to content

btrfs: some misc cleanups and a fix around page reading

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: stop checking for NULL return from btrfs_get_extent()fs/btrfs/extent_io.c+3 -32 replies
2/4btrfs: fix lost error return value when reading a data pagefs/btrfs/extent_io.c fs/btrfs/inode.c+8 -20 replies
3/4btrfs: remove no longer used counter when reading data pagefs/btrfs/extent_io.c+1 -40 replies
4/4btrfs: assert we have a write lock when removing and replacing extent mapsfs/btrfs/extent_map.c fs/btrfs/tests/extent-map-tests.c+6 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohannes Thumshirn
SeriesR-b
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] btrfs: some misc cleanups and a fix around page reading

From: Filipe Manana <[email protected]>

A small set of changes, mostly cleanups, a fix for an error that is not being returned, and adding a couple lockdep assertions.

Filipe Manana (4):
btrfs: stop checking for NULL return from btrfs_get_extent()
btrfs: fix lost error return value when reading a data page
btrfs: remove no longer used counter when reading data page
btrfs: assert we have a write lock when removing and replacing extent
maps

 fs/btrfs/extent_io.c              | 12 +++++-------
 fs/btrfs/extent_map.c             |  4 ++++
 fs/btrfs/inode.c                  |  9 +++++++--
 fs/btrfs/tests/extent-map-tests.c |  2 ++
 4 files changed, 18 insertions(+), 9 deletions(-)
Signature · 1 line
2.33.0