projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef00f59
)
fs: remove unneeded plug in mpage_readpages()
author
Namjae Jeon
<
[email protected]
>
Thu, 12 Jan 2012 08:11:56 +0000
(09:11 +0100)
committer
Jens Axboe
<
[email protected]
>
Thu, 12 Jan 2012 08:19:54 +0000
(09:19 +0100)
The block plug in mpage_readpages() duplicates the one in read_pages().
Signed-off-by: Namjae Jeon <
[email protected]
>
Signed-off-by: Amit Sahrawat <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Jens Axboe <
[email protected]
>
fs/mpage.c
patch
|
blob
|
history
diff --git
a/fs/mpage.c
b/fs/mpage.c
index fdfae9fa98cda52f26b730ab6786db084124d279..643e9f55ef297860cbbd52ab48d548e578191846 100644
(file)
--- 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);