git: subr_disk - clear out old labels
Alex Hornung
alexh at crater.dragonflybsd.org
Mon Feb 27 08:26:19 PST 2012
commit 523f068048e2f8f3caaaf6c86c8073dd233c0f62
Author: Alex Hornung <ahornung at gmail.com>
Date: Mon Feb 27 12:53:38 2012 +0000
subr_disk - clear out old labels
* Whenever a label is blown out and we reprobe, make sure we also clean
the in-memory disklabel inside the diskslice - otherwise dscheck()
will think that there's still an old disklabel around.
* This fixes changing the disklabel from disklabel64 to disklabel32 and
vice versa without rebooting.
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1667
Reported-by: Thomas Nikolajsen
Summary of changes:
sys/kern/subr_disk.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/523f068048e2f8f3caaaf6c86c8073dd233c0f62
--
DragonFly BSD source repository
More information about the Commits
mailing list