From: "Darrick J. Wong" <djwong@kernel.org>
To: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Christoph Hellwig <hch@lst.de>,
Shaokun Zhang <zhangshaokun@hisilicon.com>,
linux-xfs@vger.kernel.org
Subject: Re: [PATCH -next] xfs: remove the possibly unused mp variable in xfs_file_compat_ioctl
Date: Wed, 3 Feb 2021 10:17:14 -0800 [thread overview]
Message-ID: <20210203181714.GB7193@magnolia> (raw)
In-Reply-To: <20210203174215.c3htzz3rqva26hgz@wittgenstein>
On Wed, Feb 03, 2021 at 06:42:15PM +0100, Christian Brauner wrote:
> On Wed, Feb 03, 2021 at 09:38:35AM -0800, Darrick J. Wong wrote:
> > On Wed, Feb 03, 2021 at 06:30:10PM +0100, Christian Brauner wrote:
> > > From: Christoph Hellwig <hch@lst.de>
> > >
> > > The mp variable in xfs_file_compat_ioctl is only used when
> > > BROKEN_X86_ALIGNMENT is define. Remove it and just open code the
> > > dereference in a few places.
> > >
> > > Fixes: f736d93d76d3 ("xfs: support idmapped mounts")
> > > Signed-off-by: Christoph Hellwig <hch@lst.de>
> > > Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
> > > ---
> > > As mentioned in the thread, I'd take this on top of Christoph's patch if
> > > people are ok with this:
> > > https://git.kernel.org/brauner/h/idmapped_mounts
> >
> > I don't mind taking this via the xfs tree, unless merging through the
> > idmapped mounts series is easier/causes less rebase mess?
>
> It's caused by Christoph's xfs conversion patch as he's changing the one
> place where "mp" was passed outside the BROKEN_X86_ALIGNMENT ifdef to a
> struct file as arg. So I'd just apply it on top of that if you don't
> mind. Would make it easier for Stephen Rothwell too as he's dealing with
> all the merge conflicts. :)
Works for me; I'm 100% ok with it going through your tree. :)
--D
>
> >
> > Reviewed-by: Darrick J. Wong <djwong@kernel.org>
>
> Tyvm!
> Christian
next prev parent reply other threads:[~2021-02-03 18:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <https://lore.kernel.org/linux-xfs/20210203171633.GX7193@magnolia>
2021-02-03 17:30 ` [PATCH -next] xfs: remove the possibly unused mp variable in xfs_file_compat_ioctl Christian Brauner
2021-02-03 17:38 ` Darrick J. Wong
2021-02-03 17:42 ` Christian Brauner
2021-02-03 18:17 ` Darrick J. Wong [this message]
2021-02-04 0:55 ` Shaokun Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210203181714.GB7193@magnolia \
--to=djwong@kernel.org \
--cc=christian.brauner@ubuntu.com \
--cc=hch@lst.de \
--cc=linux-xfs@vger.kernel.org \
--cc=zhangshaokun@hisilicon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox