Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Boris Burkov <boris@bur.io>
Cc: David Sterba <dsterba@suse.com>, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs: convert several int parameters to bool
Date: Sat, 16 Aug 2025 00:53:26 +0200	[thread overview]
Message-ID: <20250815225325.GE22430@twin.jikos.cz> (raw)
In-Reply-To: <20250815204817.GB2973697@zen.localdomain>

On Fri, Aug 15, 2025 at 01:48:17PM -0700, Boris Burkov wrote:
> On Wed, Aug 13, 2025 at 12:41:11PM +0200, David Sterba wrote:
> > We're almost done cleaning misused int/bool parameters. Convert a bunch
> > of them, found by manual grepping.  Note that btrfs_sync_fs() needs an
> > int as it's mandated by the struct super_operations prototype.
> > 
> 
> I noticed a few related return values that could be bool-ified but I
> assume that is a separate effort from the parameters done here?

Yes, the return type conversions have been done too, usually one
function per patch as it may change more lines.

  reply	other threads:[~2025-08-15 22:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-13 10:41 [PATCH] btrfs: convert several int parameters to bool David Sterba
2025-08-15 20:48 ` Boris Burkov
2025-08-15 22:53   ` David Sterba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-02 14:34 David Sterba
2025-07-02 15:43 ` David Sterba
2025-07-03  5:54   ` Johannes Thumshirn

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=20250815225325.GE22430@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=boris@bur.io \
    --cc=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