diff options
author | Christoph Hellwig <hch@lst.de> | 2015-04-24 15:41:01 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-19 11:17:03 -0400 |
commit | b25de9d6da49b1a8760a89672283128aa8c78345 (patch) | |
tree | 446d9186aebfbdb2156e438b6c85d84d44dd51a2 /fs/ext4/page-io.c | |
parent | 4ecd4fef3a074c8bb43c391a57742c422469ebbd (diff) |
block: remove BIO_EOPNOTSUPP
Since the big barrier rewrite/removal in 2007 we never fail FLUSH or
FUA requests, which means we can remove the magic BIO_EOPNOTSUPP flag
to help propagating those to the buffer_head layer.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/ext4/page-io.c')
-rw-r--r-- | fs/ext4/page-io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 5765f88b3904..c5d81e8d84c3 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c | |||
@@ -359,7 +359,6 @@ void ext4_io_submit(struct ext4_io_submit *io) | |||
359 | if (bio) { | 359 | if (bio) { |
360 | bio_get(io->io_bio); | 360 | bio_get(io->io_bio); |
361 | submit_bio(io->io_op, io->io_bio); | 361 | submit_bio(io->io_op, io->io_bio); |
362 | BUG_ON(bio_flagged(io->io_bio, BIO_EOPNOTSUPP)); | ||
363 | bio_put(io->io_bio); | 362 | bio_put(io->io_bio); |
364 | } | 363 | } |
365 | io->io_bio = NULL; | 364 | io->io_bio = NULL; |