DragonFly BSD
DragonFly commits List (threaded) for 2012-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: subr_disk - clear out old labels


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Feb 2012 08:26:19 -0800 (PST)

commit 523f068048e2f8f3caaaf6c86c8073dd233c0f62
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]