]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - block/bio.c
bdi: Fix another oops in wb_workfn()
[linux.git] / block / bio.c
index db9a40e9a136b262f92b2bb13789e18dea3dcd85..f7e3d88bd0b6bb9398a01148149bb6be701e7ec8 100644 (file)
@@ -1807,9 +1807,6 @@ void bio_endio(struct bio *bio)
        if (!bio_integrity_endio(bio))
                return;
 
-       if (WARN_ONCE(bio->bi_next, "driver left bi_next not NULL"))
-               bio->bi_next = NULL;
-
        /*
         * Need to have a real endio function for chained bios, otherwise
         * various corner cases will break (like stacking block devices that