bcachefs: thread_with_file: allow ioctls against these files
authorDarrick J. Wong <djwong@kernel.org>
Sat, 10 Feb 2024 19:32:20 +0000 (11:32 -0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:15 +0000 (21:22 -0400)
commit658a1e42ce00b487909cdf91247e69c333b2c37a
tree86d859f587c594dec74dcee2a41e2dc50acbf9f6
parentab6752e24ef1eb4ef2cf35c4aa87eb1c9854e1a1
bcachefs: thread_with_file: allow ioctls against these files

Make it so that a thread_with_stdio user can handle ioctls against the
file descriptor.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/thread_with_file.c
fs/bcachefs/thread_with_file.h