summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-11-14 19:50:21 +0000
committerkib <kib@FreeBSD.org>2012-11-14 19:50:21 +0000
commit32941467f0eddd9305a7be708a05bdc2b91beb3a (patch)
tree82712ff4e397bc2808090155149ca019acff2179
parentb4e3eb067788c102b35cd279a0829fb93c93aa3c (diff)
downloadFreeBSD-src-32941467f0eddd9305a7be708a05bdc2b91beb3a.zip
FreeBSD-src-32941467f0eddd9305a7be708a05bdc2b91beb3a.tar.gz
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
-rw-r--r--sys/fs/devfs/devfs_devs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c
index 71caa29..2ce1ca6 100644
--- a/sys/fs/devfs/devfs_devs.c
+++ b/sys/fs/devfs/devfs_devs.c
@@ -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);
OpenPOWER on IntegriCloud