diff options
author | dteske <dteske@FreeBSD.org> | 2013-12-16 19:51:11 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-12-16 19:51:11 +0000 |
commit | 0276966f194aaef1ea70b30dc75dc0c529e31108 (patch) | |
tree | 36d056df27253ef4934a2aebb1b8d7b26538a0f4 /contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp | |
parent | e11c90e082fd70bda9852b8d2cd962dc39e2d78a (diff) | |
download | FreeBSD-src-0276966f194aaef1ea70b30dc75dc0c529e31108.zip FreeBSD-src-0276966f194aaef1ea70b30dc75dc0c529e31108.tar.gz |
Fix a long-standing edge-case that would result in a ghosted `zroot' pool
and subsequent headaches caused by multiple pools with the same name.
Specifically, blast away any labels on the designated swap partition.
Problem was when you install to a given layout *with* swap and then turn
around and re-install the same layout *without* swap (we weren't doing a
labelclear for the swap device, so would end up with an "UNAVAIL" status
zroot pool that may only exist in the pool cache).
MFC after: 3 days
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp')
0 files changed, 0 insertions, 0 deletions