1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _BCACHEFS_THREAD_WITH_FILE_TYPES_H 3 #define _BCACHEFS_THREAD_WITH_FILE_TYPES_H 4 5 struct stdio_redirect { 6 spinlock_t output_lock; 7 wait_queue_head_t output_wait; 8 struct printbuf output_buf; 9 10 spinlock_t input_lock; 11 wait_queue_head_t input_wait; 12 struct printbuf input_buf; 13 bool done; 14 }; 15 16 #endif /* _BCACHEFS_THREAD_WITH_FILE_TYPES_H */ 17