Thread (9 messages) 9 messages, 2 authors, 2018-09-15

Re: [PATCH 3/5] ppoll: use __kernel_timespec

From: Deepa Dinamani <hidden>
Date: 2018-09-15 03:23:45
Also in: linux-fsdevel, lkml

On Fri, Sep 14, 2018 at 8:57 AM Arnd Bergmann [off-list ref] wrote:
On Sat, Sep 1, 2018 at 10:48 PM Deepa Dinamani [off-list ref] wrote:
quoted
+
+       /* We can restart this syscall, usually */
+       if (ret == -EINTR) {
+               restore_user_sigmask(sigmask, &sigsaved);
+               ret = -ERESTARTNOHAND;
+       }
I need a little help understanding this part: In the two existing copies of that
function, you have changed it to

        restore_user_sigmask(sigmask, &sigsaved);
        if (ret == -EINTR)
                ret = -ERESTARTNOHAND;

in the previous patch, but the new new copies you add here do

       if (ret == -EINTR) {
               restore_user_sigmask(sigmask, &sigsaved);
               ret = -ERESTARTNOHAND;
       }

Is that intentional, or did you accidently leave a version in here that
you had changed afterwards?
Oops, you are right. This wasn't intentional.
I will send out a v2.

Thanks,
Deepa

--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to majordomo@kvack.org.  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help