]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r289972:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 26 Oct 2015 00:09:30 +0000 (00:09 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 26 Oct 2015 00:09:30 +0000 (00:09 +0000)
commit10d13e415cf26a1302752b5f4703947651d69003
treee13f75383b8d4dbc5a1b6598bcc39a782e60204c
parente01e7b4c3e21e97663e74d5262d5f61e9d3a5c41
MFstable/10 r289972:

MFC r289450:

Set dev->fd to -1 when calling cam_close_spec_device with a valid dev->fd
descriptor to avoid trashing valid file descriptors that access dev->fd at a
later point in time

PR: 192671
Submitted by: Scott Ferris <scott.ferris@isilon.com>
Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/9@289973 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libcam/camlib.c