[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1107916.1571934467@turing-police>
Date: Thu, 24 Oct 2019 12:27:47 -0400
From: "Valdis Klētnieks" <valdis.kletnieks@...edu>
To: Joe Perches <joe@...ches.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-fsdevel@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 04/15] staging: exfat: Clean up return codes - FFS_PERMISSIONERR
On Thu, 24 Oct 2019 09:23:33 -0700, Joe Perches said:
> On Thu, 2019-10-24 at 11:53 -0400, Valdis Kletnieks wrote:
> > if (err) {
> > - if (err == FFS_PERMISSIONERR)
> > + if (err == -EPERM)
> > err = -EPERM;
> > else if (err == FFS_INVALIDPATH)
> > err = -EINVAL;
>
> These test and assign to same value blocks look kinda silly.
One patch, one thing. Those are getting cleaned up in a subsequent patch.:)
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists