Page MenuHomeFreeBSD

D61197.1794313783.diff
No OneTemporary

Authored By
Unknown
Size
793 B
Referenced Files
None
Subscribers
None

D61197.1794313783.diff

diff --git a/sys/kern/subr_sglist.c b/sys/kern/subr_sglist.c
--- a/sys/kern/subr_sglist.c
+++ b/sys/kern/subr_sglist.c
@@ -56,7 +56,7 @@
* that can occur to the ending segment is that it can be extended.
*/
struct sgsave {
- u_short sg_nseg;
+ u_int sg_nseg;
size_t ss_len;
};
diff --git a/sys/sys/sglist.h b/sys/sys/sglist.h
--- a/sys/sys/sglist.h
+++ b/sys/sys/sglist.h
@@ -49,8 +49,8 @@
struct sglist {
struct sglist_seg *sg_segs;
u_int sg_refs;
- u_short sg_nseg;
- u_short sg_maxseg;
+ u_int sg_nseg;
+ u_int sg_maxseg;
};
struct bio;
@@ -59,7 +59,7 @@
struct uio;
static __inline void
-sglist_init(struct sglist *sg, u_short maxsegs, struct sglist_seg *segs)
+sglist_init(struct sglist *sg, u_int maxsegs, struct sglist_seg *segs)
{
sg->sg_segs = segs;

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 10, 12:29 PM (3 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41556348
Default Alt Text
D61197.1794313783.diff (793 B)

Event Timeline