Commit dad1f579 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] direct-io typo fix

From: Klaas de Waal <klaas.de.waal@hccnet.nl>

Bug in parameter of ZERO_PAGE macro in line 679 of fb/direct-io.c Parameter
dio->cur_user_address has to be dio->curr_user_address.  This bug shows
when compling for MIPS little endian as target, not when compiling for X86.
parent 641d16f5
...@@ -677,7 +677,7 @@ static void dio_zero_block(struct dio *dio, int end) ...@@ -677,7 +677,7 @@ static void dio_zero_block(struct dio *dio, int end)
this_chunk_bytes = this_chunk_blocks << dio->blkbits; this_chunk_bytes = this_chunk_blocks << dio->blkbits;
page = ZERO_PAGE(dio->cur_user_address); page = ZERO_PAGE(dio->curr_user_address);
if (submit_page_section(dio, page, 0, this_chunk_bytes, if (submit_page_section(dio, page, 0, this_chunk_bytes,
dio->next_block_for_io)) dio->next_block_for_io))
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment