diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-19 23:20:18 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:37 +0200 |
commit | 1ed0a5d280ef7a1183b42b2fcc13d919925f1b6e (patch) | |
tree | 1bbed805fd079f8991867b0085a00e7c2d0b02de /fs/bcachefs/recovery.c | |
parent | bcachefs: Inject transaction restarts in debug mode (diff) | |
download | linux-1ed0a5d280ef7a1183b42b2fcc13d919925f1b6e.tar.xz linux-1ed0a5d280ef7a1183b42b2fcc13d919925f1b6e.zip |
bcachefs: Convert fsck errors to errcode.h
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/recovery.c')
-rw-r--r-- | fs/bcachefs/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index bb04b6f053cc..2cf347530b65 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -1158,7 +1158,7 @@ int bch2_fs_recovery(struct bch_fs *c) use_clean: if (!clean) { bch_err(c, "no superblock clean section found"); - ret = BCH_FSCK_REPAIR_IMPOSSIBLE; + ret = -BCH_ERR_fsck_repair_impossible; goto err; } |