Skip to content

Commit c779b79

Browse files
committed
btrfs: raid56: rename parameter err to status in endio helpers
Trivial renames to unify the naming of blk_status_t variables/parameters. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
1 parent 853b572 commit c779b79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fs/btrfs/raid56.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -892,14 +892,14 @@ static noinline void unlock_stripe(struct btrfs_raid_bio *rbio)
892892
remove_rbio_from_cache(rbio);
893893
}
894894

895-
static void rbio_endio_bio_list(struct bio *cur, blk_status_t err)
895+
static void rbio_endio_bio_list(struct bio *cur, blk_status_t status)
896896
{
897897
struct bio *next;
898898

899899
while (cur) {
900900
next = cur->bi_next;
901901
cur->bi_next = NULL;
902-
cur->bi_status = err;
902+
cur->bi_status = status;
903903
bio_endio(cur);
904904
cur = next;
905905
}
@@ -909,7 +909,7 @@ static void rbio_endio_bio_list(struct bio *cur, blk_status_t err)
909909
* this frees the rbio and runs through all the bios in the
910910
* bio_list and calls end_io on them
911911
*/
912-
static void rbio_orig_end_io(struct btrfs_raid_bio *rbio, blk_status_t err)
912+
static void rbio_orig_end_io(struct btrfs_raid_bio *rbio, blk_status_t status)
913913
{
914914
struct bio *cur = bio_list_get(&rbio->bio_list);
915915
struct bio *extra;
@@ -938,9 +938,9 @@ static void rbio_orig_end_io(struct btrfs_raid_bio *rbio, blk_status_t err)
938938
extra = bio_list_get(&rbio->bio_list);
939939
free_raid_bio(rbio);
940940

941-
rbio_endio_bio_list(cur, err);
941+
rbio_endio_bio_list(cur, status);
942942
if (extra)
943-
rbio_endio_bio_list(extra, err);
943+
rbio_endio_bio_list(extra, status);
944944
}
945945

946946
/*

0 commit comments

Comments
 (0)