block: Do not check zone type in blk_check_zone_append()
[linux-2.6-block.git] / block / blk-core.c
index 3bf28149e104bbd2f6fac7b6beabb4681b224663..e1a5344c2257cb9210eacb63e370e9dbcdc9a19b 100644 (file)
@@ -589,8 +589,7 @@ static inline blk_status_t blk_check_zone_append(struct request_queue *q,
                return BLK_STS_NOTSUPP;
 
        /* The bio sector must point to the start of a sequential zone */
-       if (!bdev_is_zone_start(bio->bi_bdev, bio->bi_iter.bi_sector) ||
-           !bio_zone_is_seq(bio))
+       if (!bdev_is_zone_start(bio->bi_bdev, bio->bi_iter.bi_sector))
                return BLK_STS_IOERR;
 
        /*