bcachefs: Improve c->writes refcounting for stripe create path
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 19 Feb 2023 02:10:13 +0000 (21:10 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:53 +0000 (17:09 -0400)
commitebe8bd75a073c303e695589c11f298fcc3a1fb1c
treedcb830c0beb571413d5ab8a094a7b14e65f2f6cc
parent627a231239e050e70cf55a9eec316a8270a2fd63
bcachefs: Improve c->writes refcounting for stripe create path

This makes our handling of c->writes more consistent with other
asynchronous work items.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/ec.c