summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorFederico Cuello <fedux@lugmen.org.ar>2009-02-11 22:04:39 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-11 23:25:37 +0100
commit89e1219004b3657cc014521663eeef0744f1c99d (patch)
tree350162d8019af504c6f0461b2f54606bd6af7142 /drivers/parport
parentsyscall define: fix uml compile bug (diff)
downloadlinux-89e1219004b3657cc014521663eeef0744f1c99d.tar.xz
linux-89e1219004b3657cc014521663eeef0744f1c99d.zip
writeback: fix break condition
Commit dcf6a79dda5cc2a2bec183e50d829030c0972aaa ("write-back: fix nr_to_write counter") fixed nr_to_write counter, but didn't set the break condition properly. If nr_to_write == 0 after being decremented it will loop one more time before setting done = 1 and breaking the loop. [akpm@linux-foundation.org: coding-style fixes] Cc: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Acked-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions