projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e63bc
)
bcachefs: Fix return code from bch2_fs_start()
author
Kent Overstreet
<kent.overstreet@gmail.com>
Mon, 22 Apr 2019 21:47:49 +0000
(17:47 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:21 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/super.c
b/fs/bcachefs/super.c
index 654ccc611099261573c7b26bf90d7e8cce95a255..4c54ac64b0afff771db91567d7939eee2ce53e09 100644
(file)
--- a/
fs/bcachefs/super.c
+++ b/
fs/bcachefs/super.c
@@
-897,7
+897,8
@@
err:
break;
}
- BUG_ON(!ret);
+ if (ret >= 0)
+ ret = -EIO;
goto out;
}