cvs commit: src/sys/conf files src/sys/modules/tmpfs Makefile
src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_uma.c tmpfs_uma.h
tmpfs_vfsops.c tmpfs_vnops.c
Xin LI
delphij at FreeBSD.org
Fri Jun 29 05:23:16 UTC 2007
delphij 2007-06-29 05:23:15 UTC
FreeBSD src repository
Modified files:
sys/conf files
sys/modules/tmpfs Makefile
sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c
tmpfs_vnops.c
Removed files:
sys/fs/tmpfs tmpfs_uma.c tmpfs_uma.h
Log:
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)
Revision Changes Path
1.1224 +0 -1 src/sys/conf/files
1.6 +2 -4 src/sys/fs/tmpfs/tmpfs.h
1.7 +15 -29 src/sys/fs/tmpfs/tmpfs_subr.c
1.4 +0 -61 src/sys/fs/tmpfs/tmpfs_uma.c (dead)
1.5 +0 -81 src/sys/fs/tmpfs/tmpfs_uma.h (dead)
1.4 +3 -5 src/sys/fs/tmpfs/tmpfs_vfsops.c
1.6 +4 -11 src/sys/fs/tmpfs/tmpfs_vnops.c
1.2 +1 -2 src/sys/modules/tmpfs/Makefile
More information about the cvs-src
mailing list