]> git.hungrycats.org Git - linux/commit
Fix off-by-one bug in page cache reading.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 11 Sep 2004 01:50:36 +0000 (18:50 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 11 Sep 2004 01:50:36 +0000 (18:50 -0700)
commit69cf90594e0de5ac25012c97de459e15bf0f1413
treed306e3c83fac9f58c1a106fda1bdfb47ee4033c1
parent458a09d914f94cbca3a973277abebf1447f7ae3e
Fix off-by-one bug in page cache reading.

Just test the end case inside the loop, rather than trying to
be clever and getting it wrong.
mm/filemap.c