mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue