[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230330-plunder-revert-f6b2d3199766@brauner>
Date: Thu, 30 Mar 2023 13:50:56 +0200
From: Christian Brauner <brauner@...nel.org>
To: Jeff Layton <jlayton@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Eric Van Hensbergen <ericvh@...il.com>,
Latchesar Ionkov <lucho@...kov.net>,
Dominique Martinet <asmadeus@...ewreck.org>,
Joel Becker <jlbec@...lplan.org>,
Christoph Hellwig <hch@....de>, Tejun Heo <tj@...nel.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
v9fs-developer@...ts.sourceforge.net,
Chuck Lever <chuck.lever@...cle.com>,
Phillip Potter <phil@...lpotter.co.uk>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] fs: consolidate duplicate dt_type helpers
On Thu, Mar 30, 2023 at 07:15:36AM -0400, Jeff Layton wrote:
> On Thu, 2023-03-30 at 12:48 +0200, Greg Kroah-Hartman wrote:
> > On Thu, Mar 30, 2023 at 06:41:43AM -0400, Jeff Layton wrote:
> > > There are three copies of the same dt_type helper sprinkled around the
> > > tree. Convert them to use the common fs_umode_to_dtype function instead,
> > > which has the added advantage of properly returning DT_UNKNOWN when
> > > given a mode that contains an unrecognized type.
> > >
> > > Cc: Chuck Lever <chuck.lever@...cle.com>
> > > Cc: Phillip Potter <phil@...lpotter.co.uk>
> > > Suggested-by: Christian Brauner <brauner@...nel.org>
> > > Signed-off-by: Jeff Layton <jlayton@...nel.org>
> > > ---
> > > fs/configfs/dir.c | 9 ++-------
> > > fs/kernfs/dir.c | 8 +-------
> > > fs/libfs.c | 9 ++-------
> > > 3 files changed, 5 insertions(+), 21 deletions(-)
> > >
> > > v2: consolidate S_DT helper as well
> > > v3: switch existing dt_type helpers to use fs_umode_to_dtype
> > > drop v9fs hunks since they're no longer needed
> >
> > You forgot the "v3" in the subject line :(
> >
>
> Yeah, I noticed, sorry. It's the attention to detail that makes me such
> a successful kernel developer! ;)
/me hides from his own syzbot "good morning" message from earlier today...
But honestly, I don't think it's worth resending just to add v3.
Powered by blists - more mailing lists