linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Goldwyn Rodrigues <rgoldwyn@suse.de>
Cc: linux-fsdevel@vger.kernel.org, dhowells@redhat.com,
	viro@ZenIV.linux.org.uk, Goldwyn Rodrigues <rgoldwyn@suse.com>
Subject: Re: [PATCH 3/3] VFS: call d_inode() from d_backing_inode()
Date: Thu, 21 Jun 2018 05:22:01 -0700	[thread overview]
Message-ID: <20180621122201.GB14053@infradead.org> (raw)
In-Reply-To: <20180620193910.6804-4-rgoldwyn@suse.de>

On Wed, Jun 20, 2018 at 02:39:10PM -0500, Goldwyn Rodrigues wrote:
> -static inline struct dentry *d_backing_dentry(struct dentry *upper)
> +static inline struct inode *d_backing_inode(const struct dentry *dentry)
>  {
> -	return upper;
> +	return d_inode(dentry);
>  }

Why even keep both functions around then?

  reply	other threads:[~2018-06-21 12:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20 19:39 [PATCH 0/3] VFS: Revert irrelevant dcache patches Goldwyn Rodrigues
2018-06-20 19:39 ` [PATCH 1/3] Revert: "VFS: Add a fallthrough flag for marking virtual dentries" Goldwyn Rodrigues
2018-06-20 19:39 ` [PATCH 2/3] Revert: "VFS: Add a whiteout dentry type" Goldwyn Rodrigues
2018-06-20 19:39 ` [PATCH 3/3] VFS: call d_inode() from d_backing_inode() Goldwyn Rodrigues
2018-06-21 12:22   ` Christoph Hellwig [this message]
2018-06-21 12:58     ` Goldwyn Rodrigues
2018-06-21 13:01       ` Christoph Hellwig
2018-06-21 13:40       ` Amir Goldstein

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=20180621122201.GB14053@infradead.org \
    --to=hch@infradead.org \
    --cc=dhowells@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=rgoldwyn@suse.com \
    --cc=rgoldwyn@suse.de \
    --cc=viro@ZenIV.linux.org.uk \
    /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;
as well as URLs for NNTP newsgroup(s).