mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
uml: rename os_{read_write}_file_k back to os_{read_write}_file
Rename os_{read_write}_file_k back to os_{read_write}_file, delete the originals and their bogus infrastructure, and fix all the callers. 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:
parent
a263672424
commit
a6ea4cceed
22 changed files with 51 additions and 105 deletions
|
@ -44,7 +44,7 @@ static ssize_t rng_dev_read (struct file *filp, char __user *buf, size_t size,
|
|||
int n, ret = 0, have_data;
|
||||
|
||||
while(size){
|
||||
n = os_read_file_k(random_fd, &data, sizeof(data));
|
||||
n = os_read_file(random_fd, &data, sizeof(data));
|
||||
if(n > 0){
|
||||
have_data = n;
|
||||
while (have_data && size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue