diff options
author | 2020-07-21 13:34:22 -0400 | |
---|---|---|
committer | 2023-10-22 17:08:43 -0400 | |
commit | 63b214e75b1c941d3fc81da5b7fc4aa997e40873 (patch) | |
tree | b3bb966218e4c869747396c674135090473b6ad6 /fs/bcachefs/super-io.c | |
parent | bcachefs: Fix a faulty assertion (diff) | |
download | linux-63b214e75b1c941d3fc81da5b7fc4aa997e40873.tar.gz linux-63b214e75b1c941d3fc81da5b7fc4aa997e40873.tar.bz2 linux-63b214e75b1c941d3fc81da5b7fc4aa997e40873.zip |
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/super-io.c')
-rw-r--r-- | fs/bcachefs/super-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.c b/fs/bcachefs/super-io.c index 0913ffd23776..5406315340e1 100644 --- a/fs/bcachefs/super-io.c +++ b/fs/bcachefs/super-io.c @@ -641,7 +641,7 @@ static void write_super_endio(struct bio *bio) /* XXX: return errors directly */ if (bch2_dev_io_err_on(bio->bi_status, ca, "superblock write: %s", - blk_status_to_str(bio->bi_status))) + bch2_blk_status_to_str(bio->bi_status))) ca->sb_write_error = 1; closure_put(&ca->fs->sb_write); |