Remove M_USE_RESERVE from the devfs cdp allocator, which is one of two
uses of M_USE_RESERVE in the kernel. This allocation is not special. Reviewed by: alc Tested by: pho MFC after: 2 weeks
This commit is contained in:
parent
e631d5ab78
commit
6feceb86ab
@ -121,7 +121,7 @@ devfs_alloc(int flags)
|
||||
struct cdev *cdev;
|
||||
struct timespec ts;
|
||||
|
||||
cdp = malloc(sizeof *cdp, M_CDEVP, M_USE_RESERVE | M_ZERO |
|
||||
cdp = malloc(sizeof *cdp, M_CDEVP, M_ZERO |
|
||||
((flags & MAKEDEV_NOWAIT) ? M_NOWAIT : M_WAITOK));
|
||||
if (cdp == NULL)
|
||||
return (NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user