linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Carlos Maiolino <cmaiolino@redhat.com>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: linux-xfs@vger.kernel.org
Subject: Re: [PATCH 1/2] xfs: kill IHOLD
Date: Wed, 25 Jul 2018 05:06:07 +0200	[thread overview]
Message-ID: <20180725030607.ucgyal5ormcia5sd@odin.usersys.redhat.com> (raw)
In-Reply-To: <153248129226.28208.17839960103899087670.stgit@magnolia>

On Tue, Jul 24, 2018 at 06:14:52PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
> 
> Nobody uses this macro, get rid of it.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
> ---
>  fs/xfs/xfs_inode.h |    7 -------
>  1 file changed, 7 deletions(-)
> 
> 
> diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
> index 2ed63a49e890..8e18bc0fedd0 100644
> --- a/fs/xfs/xfs_inode.h
> +++ b/fs/xfs/xfs_inode.h
> @@ -484,13 +484,6 @@ static inline void xfs_setup_existing_inode(struct xfs_inode *ip)
>  	xfs_finish_inode_setup(ip);
>  }
>  
> -#define IHOLD(ip) \
> -do { \
> -	ASSERT(atomic_read(&VFS_I(ip)->i_count) > 0) ; \
> -	ihold(VFS_I(ip)); \
> -	trace_xfs_ihold(ip, _THIS_IP_); \
> -} while (0)
> -

And looks like trace_xfs_ihold is gone for almost two years...

Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>

>  #define IRELE(ip) \
>  do { \
>  	trace_xfs_irele(ip, _THIS_IP_); \
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Carlos

  reply	other threads:[~2018-07-25  4:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-25  1:14 [PATCH 0/2] xfs-4.19: inode cleanups Darrick J. Wong
2018-07-25  1:14 ` [PATCH 1/2] xfs: kill IHOLD Darrick J. Wong
2018-07-25  3:06   ` Carlos Maiolino [this message]
2018-07-25  4:56   ` Christoph Hellwig
2018-07-25 16:24     ` Darrick J. Wong
2018-07-25  1:14 ` [PATCH 2/2] xfs: clean up IRELE/iput callsites Darrick J. Wong
2018-07-25  4:00   ` Carlos Maiolino
2018-07-25 16:25     ` Darrick J. Wong
2018-07-25  4:58   ` Christoph Hellwig
2018-07-25 19:12     ` Darrick J. Wong
2018-07-25 11:26   ` Brian Foster
2018-07-25 19:45     ` Darrick J. Wong

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=20180725030607.ucgyal5ormcia5sd@odin.usersys.redhat.com \
    --to=cmaiolino@redhat.com \
    --cc=darrick.wong@oracle.com \
    --cc=linux-xfs@vger.kernel.org \
    /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).