aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2009-01-06 17:39:21 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-06 18:59:01 -0500
commit39f0dee2d8abe902617622b71f8f6f73985ec71c (patch)
tree95847d8fa625b1d23c9f04ddf2b2a430f63d4422 /fs
parent38e0edb15bd07c6a0caf0cfe39f8f90bd98601b2 (diff)
do_mpage_readpage(): remove useless clear_buffer_mapped() call
It is known that buffer_mapped() is false in this code path. Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/mpage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/mpage.c b/fs/mpage.c
index 46e977efd50a..16c3ef37eae3 100644
--- a/fs/mpage.c
+++ b/fs/mpage.c
@@ -241,7 +241,6 @@ do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages,
241 first_hole = page_block; 241 first_hole = page_block;
242 page_block++; 242 page_block++;
243 block_in_file++; 243 block_in_file++;
244 clear_buffer_mapped(map_bh);
245 continue; 244 continue;
246 } 245 }
247 246