David Howells 9d577b6a31 AFS: fix interminable loop in afs_write_back_from_locked_page()
Following bug was uncovered by compiling with '-W' flag:

  CC [M]  fs/afs/write.o
fs/afs/write.c: In function ‘afs_write_back_from_locked_page’:
fs/afs/write.c:398: warning: comparison of unsigned expression >= 0 is always true

Loop variable 'n' is unsigned, so wraps around happily as far as I can
see. Trival fix attached (compile tested only).

Signed-off-by: Mika Kukkonen <mikukkon@iki.fi>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-11 08:29:32 -07:00
..
2007-05-09 12:30:55 -07:00
2007-05-08 11:14:59 -07:00
2007-05-09 12:30:55 -07:00
2007-05-08 11:15:01 -07:00
2007-05-08 11:14:59 -07:00
2007-05-08 11:14:59 -07:00
2007-05-08 11:14:57 -07:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:57:56 +02:00
2007-05-09 17:58:01 -04:00
2007-05-10 09:26:52 -07:00
2007-05-08 11:14:59 -07:00
2007-05-08 11:15:18 -07:00
2007-05-08 11:15:08 -07:00
2007-05-08 11:15:01 -07:00
2007-05-08 11:15:09 -07:00
2007-05-09 08:58:15 +02:00
2007-05-07 12:12:58 -07:00
2007-05-09 06:44:57 +02:00
2007-05-09 12:30:50 -07:00
2007-05-08 20:10:00 -07:00
2007-05-09 07:10:02 +02:00
2007-05-08 11:15:01 -07:00
2007-05-08 11:15:04 -07:00
2007-05-08 11:15:18 -07:00