Re: [syzbot] BUG: sleeping function called from invalid context in __fdget_pos

From: Herbert Xu
Date: Wed Jun 30 2021 - 08:04:28 EST


On Wed, Jun 30, 2021 at 11:13:00AM +0200, Ard Biesheuvel wrote:
>
> So something like this, I suppose?

Yes this should work. Ideally I think it should only call the
walker once instead of potentially three times but I can live
with that :)

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt