public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] Cleanups of blk_status_t use
@ 2025-04-23 15:57 David Sterba
  2025-04-23 15:57 ` [PATCH 01/12] btrfs: drop redundant local variable in raid_wait_write_end_io() David Sterba
                   ` (12 more replies)
  0 siblings, 13 replies; 16+ messages in thread
From: David Sterba @ 2025-04-23 15:57 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

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(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-04-25 13:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23 15:57 [PATCH 00/12] Cleanups of blk_status_t use David Sterba
2025-04-23 15:57 ` [PATCH 01/12] btrfs: drop redundant local variable in raid_wait_write_end_io() David Sterba
2025-04-23 15:57 ` [PATCH 02/12] btrfs: change return type of btrfs_lookup_bio_sums() to int David Sterba
2025-04-23 15:57 ` [PATCH 03/12] btrfs: change return type of btrfs_csum_one_bio() " David Sterba
2025-04-23 15:57 ` [PATCH 04/12] btrfs: change return type of btree_csum_one_bio() " David Sterba
2025-04-23 15:57 ` [PATCH 05/12] btrfs: change return type of btrfs_bio_csum() " David Sterba
2025-04-23 15:57 ` [PATCH 06/12] btrfs: rename ret to status in btrfs_submit_chunk() David Sterba
2025-04-23 15:57 ` [PATCH 07/12] btrfs: rename error to ret " David Sterba
2025-04-23 15:57 ` [PATCH 08/12] btrfs: simplify reading bio status in end_compressed_writeback() David Sterba
2025-04-23 15:57 ` [PATCH 09/12] btrfs: rename ret to status in btrfs_submit_compressed_read() David Sterba
2025-04-23 15:57 ` [PATCH 10/12] btrfs: rename ret2 to ret " David Sterba
2025-04-23 15:57 ` [PATCH 11/12] btrfs: change return type of btrfs_alloc_dummy_sum() to int David Sterba
2025-04-23 15:57 ` [PATCH 12/12] btrfs: raid56: rename parameter err to status in endio helpers David Sterba
2025-04-24  5:34 ` [PATCH 00/12] Cleanups of blk_status_t use Qu Wenruo
2025-04-24  6:09   ` David Sterba
2025-04-25 13:38     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox