public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 0/3] Bool return cleanups
Date: Wed, 23 Apr 2025 18:53:56 +0200	[thread overview]
Message-ID: <cover.1745426584.git.dsterba@suse.com> (raw)

We have old code that uses int in place of bool, unify it to bool.  The
rest are collateral fixups.

David Sterba (3):
  btrfs: trivial conversion to return bool instead of int
  btrfs: switch int dev_replace_is_ongoing variables/parameters to bool
  btrfs: reformat comments in acls_after_inode_item()

 fs/btrfs/block-group.c   |  12 ++---
 fs/btrfs/defrag.c        |   8 +--
 fs/btrfs/delayed-inode.c |   8 +--
 fs/btrfs/dev-replace.c   |   8 +--
 fs/btrfs/dev-replace.h   |   2 +-
 fs/btrfs/extent-tree.c   |  10 ++--
 fs/btrfs/file.c          |  33 ++++++-------
 fs/btrfs/inode.c         |  51 +++++++++++--------
 fs/btrfs/ioctl.c         |  10 ++--
 fs/btrfs/locking.c       |   8 +--
 fs/btrfs/locking.h       |   2 +-
 fs/btrfs/super.c         |   6 +--
 fs/btrfs/transaction.c   |   8 +--
 fs/btrfs/volumes.c       | 104 ++++++++++++++++++---------------------
 14 files changed, 136 insertions(+), 134 deletions(-)

-- 
2.49.0


             reply	other threads:[~2025-04-23 16:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-23 16:53 David Sterba [this message]
2025-04-23 16:53 ` [PATCH 1/3] btrfs: trivial conversion to return bool instead of int David Sterba
2025-04-23 16:53 ` [PATCH 2/3] btrfs: switch int dev_replace_is_ongoing variables/parameters to bool David Sterba
2025-04-23 16:53 ` [PATCH 3/3] btrfs: reformat comments in acls_after_inode_item() David Sterba
2025-04-24  1:52   ` Naohiro Aota
2025-04-25 11:31     ` David Sterba
2025-04-24  1:54 ` [PATCH 0/3] Bool return cleanups Naohiro Aota

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=cover.1745426584.git.dsterba@suse.com \
    --to=dsterba@suse.com \
    --cc=linux-btrfs@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