summaryrefslogtreecommitdiffstats
path: root/sys/modules/tmpfs
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-06-29 05:23:15 +0000
committerdelphij <delphij@FreeBSD.org>2007-06-29 05:23:15 +0000
commitf5523801a379fd60b10766884cebdfc21bf8db35 (patch)
tree9a995329467ed0aa6c8c5a4ae50ea68413fc2cf5 /sys/modules/tmpfs
parent4f8f7b63aaea072afdf83c9faec421752039cbc6 (diff)
downloadFreeBSD-src-f5523801a379fd60b10766884cebdfc21bf8db35.zip
FreeBSD-src-f5523801a379fd60b10766884cebdfc21bf8db35.tar.gz
MFp4:
- Remove unnecessary NULL checks after M_WAITOK allocations. - Use VOP_ACCESS instead of hand-rolled suser_cred() calls. [1] - Use malloc(9) KPI to allocate memory for string. The optimization taken from NetBSD is not valid for FreeBSD because our malloc(9) already act that way. [2] Requested by: rwatson [1] Submitted by: Howard Su [2] Approved by: re (tmpfs blanket)
Diffstat (limited to 'sys/modules/tmpfs')
-rw-r--r--sys/modules/tmpfs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/modules/tmpfs/Makefile b/sys/modules/tmpfs/Makefile
index 84feb88..85aaaca 100644
--- a/sys/modules/tmpfs/Makefile
+++ b/sys/modules/tmpfs/Makefile
@@ -4,7 +4,6 @@
KMOD= tmpfs
SRCS= vnode_if.h \
- tmpfs_vnops.c tmpfs_fifoops.c tmpfs_vfsops.c tmpfs_subr.c \
- tmpfs_uma.c
+ tmpfs_vnops.c tmpfs_fifoops.c tmpfs_vfsops.c tmpfs_subr.c
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud