do_mpage_readpage(): remove useless clear_buffer_mapped() call
authorFranck Bui-Huu <[email protected]>
Tue, 6 Jan 2009 22:39:21 +0000 (14:39 -0800)
committerLinus Torvalds <[email protected]>
Tue, 6 Jan 2009 23:59:01 +0000 (15:59 -0800)
It is known that buffer_mapped() is false in this code path.

Signed-off-by: Franck Bui-Huu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/mpage.c

index 46e977efd50a6ad11c65821f8cf3becbfad916fb..16c3ef37eae348ed97ad90229d427449699315a3 100644 (file)
@@ -241,7 +241,6 @@ do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages,
                                first_hole = page_block;
                        page_block++;
                        block_in_file++;
-                       clear_buffer_mapped(map_bh);
                        continue;
                }