diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-20 10:16:48 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-24 09:50:36 -0400 |
| commit | 8a9f3d058279ed0f99114e0449d129fb5abc5eca (patch) | |
| tree | de43cdc0d16ded798548b49b6ceeae51ba19d02d /fs/bcachefs/alloc_foreground.h | |
| parent | bcachefs: bch2_write_prep_encoded_data() now returns errcode (diff) | |
| download | linux-8a9f3d058279ed0f99114e0449d129fb5abc5eca.tar.gz linux-8a9f3d058279ed0f99114e0449d129fb5abc5eca.zip | |
bcachefs: EIO cleanup
Replace these with proper private error codes, so that when we get an
error message we're not sifting through the entire codebase to see where
it came from.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.h')
| -rw-r--r-- | fs/bcachefs/alloc_foreground.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_foreground.h b/fs/bcachefs/alloc_foreground.h index baf5dc163c8a..69ec6a012898 100644 --- a/fs/bcachefs/alloc_foreground.h +++ b/fs/bcachefs/alloc_foreground.h @@ -82,7 +82,7 @@ static inline struct open_bucket *ec_open_bucket(struct bch_fs *c, } void bch2_open_bucket_write_error(struct bch_fs *, - struct open_buckets *, unsigned); + struct open_buckets *, unsigned, int); void __bch2_open_bucket_put(struct bch_fs *, struct open_bucket *); |
