Page MenuHomeFreeBSD

D10019.id29176.diff
No OneTemporary

D10019.id29176.diff

Index: head/sys/kern/kern_sendfile.c
===================================================================
--- head/sys/kern/kern_sendfile.c
+++ head/sys/kern/kern_sendfile.c
@@ -207,12 +207,12 @@
/*
* Helper function to get offset within object for i page.
*/
-static inline vm_offset_t
+static inline vm_ooffset_t
vmoff(int i, off_t off)
{
if (i == 0)
- return ((vm_offset_t)off);
+ return ((vm_ooffset_t)off);
return (trunc_page(off + i * PAGE_SIZE));
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 3:38 PM (19 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16090704
Default Alt Text
D10019.id29176.diff (473 B)

Event Timeline