cvs commit: src/sys/dev/misc/streams streams.c src/sys/kern kern_descrip.c lwkt_rwlock.c sys_generic.c sys_pipe.c uipc_syscalls.c vfs_syscalls.c src/sys/sys filedesc.h socketvar.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu May 18 22:18:14 PDT 2006
dillon 2006/05/18 22:15:37 PDT
DragonFly src repository
Modified files:
sys/dev/misc/streams streams.c
sys/kern kern_descrip.c lwkt_rwlock.c
sys_generic.c sys_pipe.c uipc_syscalls.c
vfs_syscalls.c
sys/sys filedesc.h socketvar.h
Log:
Consolidate the file descriptor destruction code used when a newly created
file descriptor must be destroyed due to an error into a new procedure,
fdealloc(), rather then manually repeating it over and over again.
Move holdsock() and holdfp() into kern/kern_descrip.c.
Revision Changes Path
1.25 +1 -4 src/sys/dev/misc/streams/streams.c
1.57 +66 -0 src/sys/kern/kern_descrip.c
1.10 +1 -1 src/sys/kern/lwkt_rwlock.c
1.29 +0 -17 src/sys/kern/sys_generic.c
1.35 +1 -6 src/sys/kern/sys_pipe.c
1.67 +9 -56 src/sys/kern/uipc_syscalls.c
1.90 +5 -20 src/sys/kern/vfs_syscalls.c
1.13 +2 -2 src/sys/sys/filedesc.h
1.22 +0 -1 src/sys/sys/socketvar.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/misc/streams/streams.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.56&r2=1.57&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_rwlock.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_generic.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_pipe.c.diff?r1=1.34&r2=1.35&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.66&r2=1.67&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.89&r2=1.90&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/filedesc.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketvar.h.diff?r1=1.21&r2=1.22&f=u
More information about the Commits
mailing list