diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:03 -0400 |
commit | a6ea4cceed18edebe1eb6001cb9e0f88cd741a6c (patch) | |
tree | 4a747a92c9bd7a8703004603ee9e91f8bfb7e95a /arch/um/drivers/daemon_user.c | |
parent | a263672424e591067e42e1d8371e56927fe73af8 (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/daemon_user.c')
-rw-r--r-- | arch/um/drivers/daemon_user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/daemon_user.c b/arch/um/drivers/daemon_user.c index e1fd26c1b728..b869e3899683 100644 --- a/arch/um/drivers/daemon_user.c +++ b/arch/um/drivers/daemon_user.c | |||
@@ -94,7 +94,7 @@ static int connect_to_switch(struct daemon_data *pri) | |||
94 | req.version = SWITCH_VERSION; | 94 | req.version = SWITCH_VERSION; |
95 | req.type = REQ_NEW_CONTROL; | 95 | req.type = REQ_NEW_CONTROL; |
96 | req.sock = *local_addr; | 96 | req.sock = *local_addr; |
97 | n = os_write_file_k(pri->control, &req, sizeof(req)); | 97 | n = os_write_file(pri->control, &req, sizeof(req)); |
98 | if(n != sizeof(req)){ | 98 | if(n != sizeof(req)){ |
99 | printk("daemon_open : control setup request failed, err = %d\n", | 99 | printk("daemon_open : control setup request failed, err = %d\n", |
100 | -n); | 100 | -n); |
@@ -102,7 +102,7 @@ static int connect_to_switch(struct daemon_data *pri) | |||
102 | goto out_free; | 102 | goto out_free; |
103 | } | 103 | } |
104 | 104 | ||
105 | n = os_read_file_k(pri->control, sun, sizeof(*sun)); | 105 | n = os_read_file(pri->control, sun, sizeof(*sun)); |
106 | if(n != sizeof(*sun)){ | 106 | if(n != sizeof(*sun)){ |
107 | printk("daemon_open : read of data socket failed, err = %d\n", | 107 | printk("daemon_open : read of data socket failed, err = %d\n", |
108 | -n); | 108 | -n); |