Jeff Dike c2b7a4bb30 [PATCH] uml: fix /proc/mounts parsing boundary condition
When parsing /proc/mounts looking for a tmpfs mount on /dev/shm, if a string
that we are looking for if split across reads, then it won't be recognized.

Fix this by refilling the buffer whenever we advance the cursor.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-30 11:25:37 -07:00
..
2006-04-11 06:18:36 -07:00
2005-04-16 15:20:36 -07:00
2006-05-01 18:17:44 -07:00
2006-01-06 08:33:45 -08:00
2005-09-29 08:46:26 -07:00
2006-05-01 18:17:44 -07:00
2005-04-16 15:20:36 -07:00
2006-05-01 18:17:44 -07:00