You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07: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:
committed by
Linus Torvalds
parent
a263672424
commit
a6ea4cceed
@@ -79,7 +79,7 @@ int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock)
|
||||
goto out_close_out;
|
||||
}
|
||||
|
||||
n = os_read_file_k(in_fds[0], &c, sizeof(c));
|
||||
n = os_read_file(in_fds[0], &c, sizeof(c));
|
||||
if(n == 0){
|
||||
printk("harddog_open - EOF on watchdog pipe\n");
|
||||
helper_wait(pid);
|
||||
@@ -118,7 +118,7 @@ int ping_watchdog(int fd)
|
||||
int n;
|
||||
char c = '\n';
|
||||
|
||||
n = os_write_file_k(fd, &c, sizeof(c));
|
||||
n = os_write_file(fd, &c, sizeof(c));
|
||||
if(n != sizeof(c)){
|
||||
printk("ping_watchdog - write failed, err = %d\n", -n);
|
||||
if(n < 0)
|
||||
|
||||
Reference in New Issue
Block a user