Skip to contentSkip to conversation

do_mpage_readpage(): remove useless clear_buffer_mapped() call

PATCH New Franck Bui-Huu 1 participant 1 message Nov 19, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 do_mpage_readpage(): remove useless clear_buffer_mapped() call

---
Hello,

I just found this while reading mpage.c and it looks pretty obvious.

Franck

 fs/mpage.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/mpage.c +0 -1
index 552b80b..cf05ca7 100644
@@ -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;
 		}
 
Signature · 8 lines
1.6.0.2.GIT


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>