bcachefs: thread_with_stdio: kill thread_with_stdio_done()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 5 Feb 2024 03:49:34 +0000 (22:49 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 13 Mar 2024 22:39:13 +0000 (18:39 -0400)
commita6777ca4ff237d097b3d6186283eb2d2f24071d1
treefaff2e5237bacb14d80b4ad4d5f1a543ed52d98f
parent60e1baa872a1550ea7c083977c817ca2ede04eaf
bcachefs: thread_with_stdio: kill thread_with_stdio_done()

Move the cleanup code to a wrapper function, where we can call it after
the thread_with_stdio fn exits.

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