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

git: disklabel - add new freedisklabel op


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

commit 2fa1a664f3ea4dd50a15404282542c6d529bd830
Author: Alex Hornung <ahornung@gmail.com>
Date:   Mon Feb 27 12:52:08 2012 +0000

    disklabel - add new freedisklabel op
    
     * The freedisklabel op is simply used to free the disklabel stored in a
       disklabel_t (in a diskslice).
    
     * It deallocates the memory and sets the pointer to NULL.

Summary of changes:
 sys/kern/subr_disklabel32.c |   10 +++++++++-
 sys/kern/subr_disklabel64.c |   10 +++++++++-
 sys/sys/disklabel.h         |    2 ++
 3 files changed, 20 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2fa1a664f3ea4dd50a15404282542c6d529bd830


-- 
DragonFly BSD source repository



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