lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aUERfrewTvjoy0K-@infradead.org>
Date: Mon, 15 Dec 2025 23:59:58 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Andreas Gruenbacher <agruenba@...hat.com>
Cc: Christoph Hellwig <hch@...radead.org>, Jens Axboe <axboe@...nel.dk>,
	Chris Mason <clm@...com>, David Sterba <dsterba@...e.com>,
	linux-block@...r.kernel.org, linux-btrfs@...r.kernel.org,
	linux-raid@...r.kernel.org, dm-devel@...ts.linux.dev,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC 05/12] bio: add bio_set_status

On Mon, Dec 08, 2025 at 12:10:12PM +0000, Andreas Gruenbacher wrote:
> Add a bio_set_status(bio, status) helper that sets bio->bi_status to
> status if status != BLK_STS_OK.  Replace instances of this pattern in
> the code with a call to the new helper.

Why?  Also the name suggest it is the canonical way to set a
status, and not just a helper to set it conditionally.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ