Skip to content

Cleanups of blk_status_t use

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12btrfs: drop redundant local variable in raid_wait_write_end_io()fs/btrfs/raid56.c+1 -20 replies
2/12btrfs: change return type of btrfs_lookup_bio_sums() to intfs/btrfs/bio.c fs/btrfs/file-item.c fs/btrfs/file-item.h+9 -80 replies
3/12btrfs: change return type of btrfs_csum_one_bio() to intfs/btrfs/bio.c fs/btrfs/file-item.c fs/btrfs/file-item.h+4 -40 replies
4/12btrfs: change return type of btree_csum_one_bio() to intfs/btrfs/bio.c fs/btrfs/disk-io.c fs/btrfs/disk-io.h+10 -100 replies
5/12btrfs: change return type of btrfs_bio_csum() to intfs/btrfs/bio.c+7 -60 replies
6/12btrfs: rename ret to status in btrfs_submit_chunk()fs/btrfs/bio.c+11 -110 replies
7/12btrfs: rename error to ret in btrfs_submit_chunk()fs/btrfs/bio.c+9 -90 replies
8/12btrfs: simplify reading bio status in end_compressed_writeback()fs/btrfs/compression.c+3 -30 replies
9/12btrfs: rename ret to status in btrfs_submit_compressed_read()fs/btrfs/compression.c+5 -50 replies
10/12btrfs: rename ret2 to ret in btrfs_submit_compressed_read()fs/btrfs/compression.c+3 -30 replies
11/12btrfs: change return type of btrfs_alloc_dummy_sum() to intfs/btrfs/bio.c fs/btrfs/file-item.c fs/btrfs/file-item.h+5 -40 replies
12/12btrfs: raid56: rename parameter err to status in endio helpersfs/btrfs/raid56.c+5 -50 replies

Reviews trailers per patch

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

PatchQu Wenruo
SeriesR-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

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 00/12] Cleanups of blk_status_t use

Use the blk_status_t only for interaction with block layer API and remove it from our functions. Do some naming unifications and minor cleanups.

David Sterba (12):
btrfs: drop redundant local variable in raid_wait_write_end_io()
btrfs: change return type of btrfs_lookup_bio_sums() to int
btrfs: change return type of btrfs_csum_one_bio() to int
btrfs: change return type of btree_csum_one_bio() to int
btrfs: change return type of btrfs_bio_csum() to int
btrfs: rename ret to status in btrfs_submit_chunk()
btrfs: rename error to ret in btrfs_submit_chunk()
btrfs: simplify reading bio status in end_compressed_writeback()
btrfs: rename ret to status in btrfs_submit_compressed_read()
btrfs: rename ret2 to ret in btrfs_submit_compressed_read()
btrfs: change return type of btrfs_alloc_dummy_sum() to int
btrfs: raid56: rename parameter err to status in endio helpers

 fs/btrfs/bio.c         | 33 ++++++++++++++++++---------------
 fs/btrfs/compression.c | 22 +++++++++++-----------
 fs/btrfs/disk-io.c     | 16 ++++++++--------
 fs/btrfs/disk-io.h     |  2 +-
 fs/btrfs/file-item.c   | 20 ++++++++++----------
 fs/btrfs/file-item.h   |  6 +++---
 fs/btrfs/raid56.c      | 13 ++++++-------
 7 files changed, 57 insertions(+), 55 deletions(-)
Signature · 1 line
2.49.0