Message ID | 20231222013624.1814544-1-uli@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Revert "md: fix a crash in mempool_free" | expand |
diff --git a/drivers/md/md.c b/drivers/md/md.c index 09e1b21460470..67bfdd95e9d4a 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -736,10 +736,6 @@ static void super_written(struct bio *bio) bio_put(bio); - bio_put(bio); - - rdev_dec_pending(rdev, mddev); - if (atomic_dec_and_test(&mddev->pending_writes)) wake_up(&mddev->sb_wait); }