Re: [PATCH v2 1/6] fs/readdir: Fix filldir() and filldir64() use of user_access_begin()

Christophe Leroy
2020-01-23T06:27:09Z

Le 22/01/2020 à 21:37, Linus Torvalds a écrit :
> [ Talking to myself ]
>
> On Wed, Jan 22, 2020 at 12:00 PM Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
>>
>> COMPLETELY UNTESTED! It compiles for me. The generated assembly looks
>> ok from a quick look.
>
>
> So here's a slightly updated patch that does exactly that, and avoids
> the objtool warning.
>
> It actually generates better code than the last one too, because now
> we don't duplicate the user_access_end() for the EINTR case.
>
> So test this one instead, please.

This patch works on my ppc board, thanks

Christophe