diff options
author | kib <kib@FreeBSD.org> | 2013-03-27 11:47:52 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-03-27 11:47:52 +0000 |
commit | c45e5da903f8140c2f15402b2424837677b648aa (patch) | |
tree | f96042ef528289a58a359ca052c0dab4f7c6e940 /Makefile.inc1 | |
parent | 448e7c12908c8a8680ec5f93934de43b8ad1a06f (diff) | |
download | FreeBSD-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