X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fmd%2Fdm.c;h=b3c3c8b4cb428f587dbe9840b276fdc14d8fd630;hb=2eeefc60ad70ffb7a5daf9f47aef5b1ebd1f39ad;hp=5b2f371ec4bb55b656e3b50f69890b130b3897d8;hpb=8653b778e454a7708847aeafe689bce07aeeb94e;p=linux-2.6-microblaze.git diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 5b2f371ec4bb..b3c3c8b4cb42 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1586,7 +1586,7 @@ static blk_qc_t __split_and_process_bio(struct mapped_device *md, ci.sector_count = bio_sectors(bio); while (ci.sector_count && !error) { error = __split_and_process_non_flush(&ci); - if (current->bio_list && ci.sector_count && !error) { + if (ci.sector_count && !error) { /* * Remainder must be passed to submit_bio_noacct() * so that it gets handled *after* bios already submitted