From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f68.google.com ([209.85.214.68]:36295 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727941AbeIODXp (ORCPT ); Fri, 14 Sep 2018 23:23:45 -0400 MIME-Version: 1.0 References: <20180901204721.13117-1-deepa.kernel@gmail.com> <20180901204721.13117-4-deepa.kernel@gmail.com> In-Reply-To: From: Deepa Dinamani Date: Fri, 14 Sep 2018 15:07:09 -0700 Message-ID: Subject: Re: [PATCH 3/5] ppoll: use __kernel_timespec To: Arnd Bergmann Cc: Alexander Viro , Thomas Gleixner , Linux Kernel Mailing List , y2038 Mailman List , Linux FS-devel Mailing List , Linux API , linux-aio Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Sep 14, 2018 at 8:57 AM Arnd Bergmann wrote: > > On Sat, Sep 1, 2018 at 10:48 PM Deepa Dinamani wrote: > > > + > > + /* 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