Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143682569
D49562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
559 B
Referenced Files
None
Subscribers
None
D49562.diff
View Options
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -2365,7 +2365,7 @@
}
static void
-crunusebatch(struct ucred *cr, int users, int ref)
+crunusebatch(struct ucred *cr, u_int users, long ref)
{
KASSERT(users > 0, ("%s: passed users %d not > 0 ; cred %p",
diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h
--- a/sys/sys/ucred.h
+++ b/sys/sys/ucred.h
@@ -192,8 +192,8 @@
struct credbatch {
struct ucred *cred;
- int users;
- int ref;
+ u_int users;
+ long ref;
};
static inline void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 6:28 AM (1 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28296646
Default Alt Text
D49562.diff (559 B)
Attached To
Mode
D49562: cred: fix struct credbatch to use long for refcount
Attached
Detach File
Event Timeline
Log In to Comment