On Mon, 1 Dec 2025, Chaitanya Kulkarni wrote:

> Hi Mike and Mikulas,
> 
> On 11/24/25 15:48, Chaitanya Kulkarni wrote:
> > __blkdev_issue_discard() always returns 0, making all error checking
> > at call sites dead code.
> >
> > For dm-thin change issue_discard() return type to void, in
> > passdown_double_checking_shared_status() remove the r assignment from
> > return value of the issue_discard(), for end_discard() hardcode value of
> > r to 0 that matches only value returned from __blkdev_issue_discard().
> >
> > Reviewed-by: Martin K. Petersen<[email protected]>
> > Reviewed-by: Johannes Thumshirn<[email protected]>
> > Reviewed-by: Christoph Hellwig<[email protected]>
> > Signed-off-by: Chaitanya Kulkarni<[email protected]>
> > ---
> 
> 
> Gentle ping on this.
> 
> -ck

Hi

I thought that this patch would go with the other patches that do the same 
change in other subsystems - but if you want me to make it go through the 
device mapper tree, I can do it.

I staged the patch for this merge window.

Mikulas


Reply via email to