bcachefs: thread_with_file: create ops structure for thread_with_stdio
authorDarrick J. Wong <djwong@kernel.org>
Sat, 10 Feb 2024 19:23:01 +0000 (11:23 -0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:13 +0000 (21:22 -0400)
commitab6752e24ef1eb4ef2cf35c4aa87eb1c9854e1a1
treead262db6f0727826112c25358627f3bd88a225df
parent1cbae651e5c875f4d128211b3c732ee545f45424
bcachefs: thread_with_file: create ops structure for thread_with_stdio

Create an ops structure so we can add more file-based functionality in
the next few patches.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
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