Commit ea3323f1 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] fix obvious thinko

parent c2cf4faa
......@@ -1375,9 +1375,9 @@ read_data_block(char *buffer,
readahead_buffer + (2048 -
readahead_dataleft),
readahead_dataleft);
readahead_dataleft = 0;
bytesleft -= readahead_dataleft;
offset += readahead_dataleft;
readahead_dataleft = 0;
} else {
/* The readahead will fill the whole buffer, get the data
and 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