We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 672f752 commit 9183c2bCopy full SHA for 9183c2b
fs/bcachefs/data_update.c
@@ -80,6 +80,7 @@ static bool bkey_nocow_lock(struct bch_fs *c, struct moving_context *ctxt, struc
80
if (ptr2 == ptr)
81
break;
82
83
+ ca = bch2_dev_have_ref(c, ptr2->dev);
84
bucket = PTR_BUCKET_POS(ca, ptr2);
85
bch2_bucket_nocow_unlock(&c->nocow_locks, bucket, 0);
86
}
0 commit comments