diff options
author | sephe <sephe@FreeBSD.org> | 2016-01-22 09:06:40 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-01-22 09:06:40 +0000 |
commit | 132b95f01cef8eea9b84c33c9e5e689de4dd850a (patch) | |
tree | 1aefced583ef63c37b74da120f2ba0bf69d34baf /contrib/llvm/lib/Support/FileUtilities.cpp | |
parent | a8ab3ab9dc58fc0f2a6dd8b753aa242174a5c53f (diff) | |
download | FreeBSD-src-132b95f01cef8eea9b84c33c9e5e689de4dd850a.zip FreeBSD-src-132b95f01cef8eea9b84c33c9e5e689de4dd850a.tar.gz |
hyperv/stor: Verify returned inquiry data before further dispatching
Windows 10 and Window 2016 will return all zero inquiry data for
non-existing slots. If we dispatched them, then a lot of useless
(0 sized) disks would be created. So we verify the returned inquiry
data (valid type, non-empty vendor/product/revision etc.), before
further dispatching.
Minor white space cleanup and wording fix.
Submitted by: Hongjiang Zhang <honzhan microsoft com>
Reviewed by: adrian, sephe, Jun Su <junsu microsoft com>
Approved by: adrian (mentor)
Modified by: sephe
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D4928
Diffstat (limited to 'contrib/llvm/lib/Support/FileUtilities.cpp')
0 files changed, 0 insertions, 0 deletions