summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-03-27 11:47:52 +0000
committerkib <kib@FreeBSD.org>2013-03-27 11:47:52 +0000
commitc45e5da903f8140c2f15402b2424837677b648aa (patch)
treef96042ef528289a58a359ca052c0dab4f7c6e940 /Makefile.inc1
parent448e7c12908c8a8680ec5f93934de43b8ad1a06f (diff)
downloadFreeBSD-src-c45e5da903f8140c2f15402b2424837677b648aa.zip
FreeBSD-src-c45e5da903f8140c2f15402b2424837677b648aa.tar.gz
Fix a race with the vnode reclamation in the aio_qphysio(). Obtain
the thread reference on the vp->v_rdev and use the returned struct cdev *dev instead of using vp->v_rdev. Call dev_strategy_csw() instead of dev_strategy(), since we now own the reference. Since the csw was already calculated, test d_flags to avoid mapping the buffer if the driver supports unmapped requests [*]. Suggested by: kan [*] Reviewed by: kan (previous version) Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
Diffstat (limited to 'Makefile.inc1')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud