Created
June 13, 2022 21:45
-
-
Save YellowOnion/0068c9dad2f80e5a3e2c2c31876167f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/fs/bcachefs/move.c b/fs/bcachefs/move.c | |
index 2847000ec60c..2193d8f022c5 100644 | |
--- a/fs/bcachefs/move.c | |
+++ b/fs/bcachefs/move.c | |
@@ -946,12 +946,12 @@ int bch2_evacuate_bucket(struct bch_fs *c, | |
ret = bch2_get_next_backpointer(&trans, bucket, gen, | |
&bp_offset, &bp, &bp_pos); | |
+ if (bp_offset == U64_MAX) | |
+ break; | |
if (ret == -EINTR) | |
continue; | |
if (ret) | |
goto err; | |
- if (bp_offset == U64_MAX) | |
- break; | |
if (!bp.level) { | |
struct bkey_s_c k; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment