bcachefs: thread_with_file
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 12 Jul 2023 04:20:22 +0000 (00:20 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:40 +0000 (11:47 -0500)
commitbbefcd910d9f992db2d8ba4b8f96a77d8fb131d7
tree26fca5e9cc47d4d03be75236488e9f3cb6b94c33
parent63508b756443cb38e432dea01fec36248cb25cd7
bcachefs: thread_with_file

Abstract out a new helper from the data job code, for connecting a
kthread to a file descriptor.

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