Re: [PATCH v3 2/9] block: prohibit calls to bio_chain_endio

Christoph Hellwig <[email protected]> Sun, 30 Nov 2025 22:14:20 -0800
Newsgroups org.kernel.vger.linux-bcache,dev.linux.lists.ntfs3,dev.linux.lists.nvdimm,dev.linux.lists.virtualization,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel,org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On Sat, Nov 29, 2025 at 05:01:15PM +0800, zhangshida wrote:
> From: Shida Zhang <[email protected]>
> 
> Now that all potential callers of bio_chain_endio have been
> eliminated, completely prohibit any future calls to this function.

Note that we'll need to be prepared for a flame from Linus for
using BUG_ON, but I still think it is reasonable here.

Reviewed-by: Christoph Hellwig <[email protected]>