Re: [PATCH v3] tty: tty_io: remove hung_up_tty_fops

From: Linus Torvalds
Date: Thu May 02 2024 - 21:12:39 EST


On Thu, 2 May 2024 at 16:54, Tetsuo Handa
<penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:
>
> debugfs (or maybe any filesystems that wraps f_op) caches filp->f_op into
> private data

That's just for debugfs uses. If you somehow try to do that on a tty,
you are quite welcome to keep both broken pieces.

Linus