Commit 30ca6ece authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Kill trans->flags



Recursive transaction commits are occasionally necessary - in
particular, for the upcoming btree write buffer's flush path.

This avoids bugs due to trans->flags being accidentally mutated
mid-commit, which can cause c->writes refcount leaks.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 60b55388
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment