diff options
author | Christoph Hellwig <hch@lst.de> | 2015-04-24 15:41:02 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-19 11:17:05 -0400 |
commit | 97ca223c3b37ed12a5b67a5dc6247e5a4799d337 (patch) | |
tree | f060bc452cf96a2bec8e5b7397ab77982e53edf3 /block/blk-core.c | |
parent | b25de9d6da49b1a8760a89672283128aa8c78345 (diff) |
block: remove unused BIO_RW_BLOCK and BIO_EOF flags
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index f0be754c7781..de474b5dee2b 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1725,8 +1725,6 @@ static void handle_bad_sector(struct bio *bio) | |||
1725 | bio->bi_rw, | 1725 | bio->bi_rw, |
1726 | (unsigned long long)bio_end_sector(bio), | 1726 | (unsigned long long)bio_end_sector(bio), |
1727 | (long long)(i_size_read(bio->bi_bdev->bd_inode) >> 9)); | 1727 | (long long)(i_size_read(bio->bi_bdev->bd_inode) >> 9)); |
1728 | |||
1729 | set_bit(BIO_EOF, &bio->bi_flags); | ||
1730 | } | 1728 | } |
1731 | 1729 | ||
1732 | #ifdef CONFIG_FAIL_MAKE_REQUEST | 1730 | #ifdef CONFIG_FAIL_MAKE_REQUEST |