bcachefs: thread_with_stdio: Mark completed in ->release()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 9 Feb 2024 01:27:06 +0000 (20:27 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:00 +0000 (21:22 -0400)
commit8f9320d3a3993e76c8097fb8567ba5f3eb2cb91b
tree677879026ebb25f06554a1874369a4434f04ed80
parent032b3fd0571a8d7e22c7d8c97bdfc76f17717de2
bcachefs: thread_with_stdio: Mark completed in ->release()

This fixes stdio_redirect_read() getting stuck, not noticing that the
pipe has been closed.

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