Message ID | d355c98ae393b053218a0c7f5f0b7cf9d130af45.1729784713.git.fdmanana@suse.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | btrfs: convert delayed head refs to xarray and cleanups | expand |
diff --git a/fs/btrfs/delayed-ref.c b/fs/btrfs/delayed-ref.c index a8cf76f44b2b..2b6a636ba4b5 100644 --- a/fs/btrfs/delayed-ref.c +++ b/fs/btrfs/delayed-ref.c @@ -886,6 +886,7 @@ add_delayed_ref_head(struct btrfs_trans_handle *trans, bool qrecord_inserted = false; delayed_refs = &trans->transaction->delayed_refs; + lockdep_assert_held(&delayed_refs->lock); /* Record qgroup extent info if provided */ if (qrecord) {