diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-07-21 13:34:22 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:43 -0400 |
commit | 63b214e75b1c941d3fc81da5b7fc4aa997e40873 (patch) | |
tree | b3bb966218e4c869747396c674135090473b6ad6 /fs/bcachefs/ec.c | |
parent | a2b5313a39dfb0c027ef3f9d79efa531e1c0a736 (diff) |
bcachefs: Add bch2_blk_status_to_str()
We define our own BLK_STS_REMOVED, so we need our own to_str helper too.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
-rw-r--r-- | fs/bcachefs/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index 54a95edc9901..8c04e7ced88b 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.c @@ -328,7 +328,7 @@ static void ec_block_endio(struct bio *bio) if (bch2_dev_io_err_on(bio->bi_status, ca, "erasure coding %s: %s", bio_data_dir(bio) ? "write" : "read", - blk_status_to_str(bio->bi_status))) + bch2_blk_status_to_str(bio->bi_status))) clear_bit(ec_bio->idx, ec_bio->buf->valid); bio_put(&ec_bio->bio); |