git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
um
/
drivers
/
cow_sys.h
diff --git
a/arch/um/drivers/cow_sys.h
b/arch/um/drivers/cow_sys.h
index
c83fc5d
..
7a5b4af
100644
(file)
--- a/
arch/um/drivers/cow_sys.h
+++ b/
arch/um/drivers/cow_sys.h
@@
-23,7
+23,7
@@
static inline char *cow_strdup(char *str)
return(uml_strdup(str));
}
return(uml_strdup(str));
}
-static inline int cow_seek_file(int fd,
unsigned long long
offset)
+static inline int cow_seek_file(int fd,
__u64
offset)
{
return(os_seek_file(fd, offset));
}
{
return(os_seek_file(fd, offset));
}
@@
-33,7
+33,7
@@
static inline int cow_file_size(char *file, unsigned long long *size_out)
return(os_file_size(file, size_out));
}
return(os_file_size(file, size_out));
}
-static inline int cow_write_file(int fd,
char
*buf, int size)
+static inline int cow_write_file(int fd,
void
*buf, int size)
{
return(os_write_file(fd, buf, size));
}
{
return(os_write_file(fd, buf, size));
}