Re: [PATCH] iov_iter: separate direction from flavour

From: Linus Torvalds
Date: Sun Jul 04 2021 - 15:04:53 EST


On Sun, Jul 4, 2021 at 11:54 AM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> No, I still see the same warning, with the same traceback. I did make sure
> that the code is executed by adding a printk in front of it.

And that printk() hits before the WARN_ON_ONCE() hits?

Funky. That sounds to me like something is then doing
set_fs(KERNEL_DS) again later, but it's also possible that I've been
dropped on my head a few too many times as a young child, and am
missing something completely obvious.

Can somebody put me out of my misery and say "Oh, Linus, please take
your meds - you're missing xyz..."

Linus