summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_rman.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-05-06 15:52:08 +0000
committeralc <alc@FreeBSD.org>2010-05-06 15:52:08 +0000
commita4eb017f2a2b295af55831f9ab117c78198cdef2 (patch)
treeb7b9cea6b5e782fe9c86b9b3479ad41fdff2f8e9 /sys/kern/subr_rman.c
parent9ba32758003af67dc6e2b29886ef3a9bdc3ce387 (diff)
downloadFreeBSD-src-a4eb017f2a2b295af55831f9ab117c78198cdef2.zip
FreeBSD-src-a4eb017f2a2b295af55831f9ab117c78198cdef2.tar.gz
Eliminate a small bit of unneeded code from kern_sendfile(): While
kern_sendfile() is running, the file's vm object can't be destroyed because kern_sendfile() increments the vm object's reference count. (Once kern_sendfile() decrements the reference count and returns, the vm object can, however, be destroyed. So, sf_buf_mext() must handle the case where the vm object is destroyed.) Reviewed by: kib
Diffstat (limited to 'sys/kern/subr_rman.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud