Skip to content

Commit

Permalink
do_mpage_readpage(): remove useless clear_buffer_mapped() call
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
fbuihuu authored and torvalds committed Jan 6, 2009
1 parent 38e0edb commit 39f0dee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/mpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 39f0dee

Please sign in to comment.