aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/harddog_user.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-06 17:51:43 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:13:03 -0400
commita6ea4cceed18edebe1eb6001cb9e0f88cd741a6c (patch)
tree4a747a92c9bd7a8703004603ee9e91f8bfb7e95a /arch/um/drivers/harddog_user.c
parenta263672424e591067e42e1d8371e56927fe73af8 (diff)
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>
Diffstat (limited to 'arch/um/drivers/harddog_user.c')
-rw-r--r--arch/um/drivers/harddog_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/harddog_user.c b/arch/um/drivers/harddog_user.c
index 0fbb1615171e..5eeecf8917c3 100644
--- a/arch/um/drivers/harddog_user.c
+++ b/arch/um/drivers/harddog_user.c
@@ -79,7 +79,7 @@ int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock)
79 goto out_close_out; 79 goto out_close_out;
80 } 80 }
81 81
82 n = os_read_file_k(in_fds[0], &c, sizeof(c)); 82 n = os_read_file(in_fds[0], &c, sizeof(c));
83 if(n == 0){ 83 if(n == 0){
84 printk("harddog_open - EOF on watchdog pipe\n"); 84 printk("harddog_open - EOF on watchdog pipe\n");
85 helper_wait(pid); 85 helper_wait(pid);
@@ -118,7 +118,7 @@ int ping_watchdog(int fd)
118 int n; 118 int n;
119 char c = '\n'; 119 char c = '\n';
120 120
121 n = os_write_file_k(fd, &c, sizeof(c)); 121 n = os_write_file(fd, &c, sizeof(c));
122 if(n != sizeof(c)){ 122 if(n != sizeof(c)){
123 printk("ping_watchdog - write failed, err = %d\n", -n); 123 printk("ping_watchdog - write failed, err = %d\n", -n);
124 if(n < 0) 124 if(n < 0)