public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: xfs <linux-xfs@vger.kernel.org>, Dave Chinner <david@fromorbit.com>
Subject: [PATCH v2 0/2] xfs: get rid of _ITER_{ABORT,CONTINUE}
Date: Thu, 29 Aug 2019 17:25:54 -0700	[thread overview]
Message-ID: <20190830002554.GT5354@magnolia> (raw)

Hi all,

I have recently realized that the _ITER_CONTINUE/_ITER_ABORT defines are
a giant thinko -- the _CONTINUE variants map to zero, and -ECANCELED can
handle the _ABORT case just fine.  This series scrapes both of them out
of the kernel.

In this v2 of the patch we add comments to point out the special meaning
of 0 and -ECANCELED, which replace the _ITER_* defines.

--D

             reply	other threads:[~2019-08-30  0:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-30  0:25 Darrick J. Wong [this message]
2019-08-30  0:30 ` [PATCH 1/2] xfs: remove all *_ITER_ABORT values Darrick J. Wong
2019-08-30  0:41   ` Dave Chinner
2019-08-30  0:30 ` [PATCH 2/2] xfs: remove all *_ITER_CONTINUE values Darrick J. Wong
2019-08-30  0:42   ` Dave Chinner

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=20190830002554.GT5354@magnolia \
    --to=darrick.wong@oracle.com \
    --cc=david@fromorbit.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