uml: change remaining callers of os_{read_write}_file
Convert all remaining os_{read_write}_file users to use the simple {read,write} wrappers, os_{read_write}_file_k. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
77f6af778d
commit
fda83a99b2
@@ -28,7 +28,7 @@ static char token(int fd, char *buf, int len, char stop)
|
||||
ptr = buf;
|
||||
end = &buf[len];
|
||||
do {
|
||||
n = os_read_file(fd, ptr, sizeof(*ptr));
|
||||
n = os_read_file_k(fd, ptr, sizeof(*ptr));
|
||||
c = *ptr++;
|
||||
if(n != sizeof(*ptr)){
|
||||
if(n == 0)
|
||||
|
Reference in New Issue
Block a user