mm: Move common segments checks to separate function
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dmitriy Monakhov wrote on Jan 24, 11:00 pm
Quoted 4 lines
Quoted 2 lines
Move common segments checks from __generic_file_aio_{read,write}_nolock() to separate helper function generic_segment_checks().WOW my eyes ....
I'm realy sorry but this patch is litle bit broken. :( I've forgot to check
generic_segment_checks()return value.
why not remove the for loop all together? like this: