git: disklabel - add new freedisklabel op

Alex Hornung alexh at crater.dragonflybsd.org
Mon Feb 27 08:26:17 PST 2012


commit 2fa1a664f3ea4dd50a15404282542c6d529bd830
Author: Alex Hornung <ahornung at 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





More information about the Commits mailing list