diff options
author | Namjae Jeon <linkinjeon@gmail.com> | 2012-01-12 09:11:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-01-12 09:19:54 +0100 |
commit | 0b4156eb27214e81f7012458bb15d1e038db9a00 (patch) | |
tree | 5a84537c92be05918d1e1bffbd35e9bbe9fbabb5 | |
parent | ef00f59c95fe6e002e7c6e3663cdea65e253f4cc (diff) |
fs: remove unneeded plug in mpage_readpages()
The block plug in mpage_readpages() duplicates the one in read_pages().
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Amit Sahrawat <amit.sahrawat83@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | fs/mpage.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/mpage.c b/fs/mpage.c index fdfae9fa98c..643e9f55ef2 100644 --- a/fs/mpage.c +++ b/fs/mpage.c @@ -371,9 +371,6 @@ mpage_readpages(struct address_space *mapping, struct list_head *pages, sector_t last_block_in_bio = 0; struct buffer_head map_bh; unsigned long first_logical_block = 0; - struct blk_plug plug; - - blk_start_plug(&plug); map_bh.b_state = 0; map_bh.b_size = 0; @@ -395,7 +392,6 @@ mpage_readpages(struct address_space *mapping, struct list_head *pages, BUG_ON(!list_empty(pages)); if (bio) mpage_bio_submit(READ, bio); - blk_finish_plug(&plug); return 0; } EXPORT_SYMBOL(mpage_readpages); |