Commit 83208cb
Kent Overstreet
bcachefs: Don't return -EROFS from mount on inconsistency error
We were accidentally returning -EROFS during recovery on filesystem
inconsistency - since this is what the journal returns on emergency
shutdown.
Signed-off-by: Kent Overstreet <[email protected]>1 parent 8528bde commit 83208cb
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1939 | 1939 | | |
1940 | 1940 | | |
1941 | 1941 | | |
1942 | | - | |
1943 | | - | |
| 1942 | + | |
1944 | 1943 | | |
1945 | 1944 | | |
1946 | 1945 | | |
| |||
2016 | 2015 | | |
2017 | 2016 | | |
2018 | 2017 | | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
2019 | 2027 | | |
2020 | 2028 | | |
2021 | 2029 | | |
| |||
0 commit comments