Page MenuHomeFreeBSD

D49562.diff
No OneTemporary

D49562.diff

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

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)

Event Timeline