git: sys/vfs/hammer: Remove const from volume names

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Nov 24 04:42:25 PST 2015


commit e73c3403b4ef311cb0dc361abe9f1914088934c2
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Nov 24 03:24:45 2015 +0900

    sys/vfs/hammer: Remove const from volume names
    
    struct hammer_mount_info having const char** for volume names
    was not necessary.
    
    mount_hammer(8) needs to be able to free info->volumes[i]
    since these names are strdup'd char* but not pointers to argv[i].
    
    Also see aeb72a17.

Summary of changes:
 sbin/mount_hammer/mount_hammer.c | 4 ++--
 sys/vfs/hammer/hammer_mount.h    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e73c3403b4ef311cb0dc361abe9f1914088934c2


-- 
DragonFly BSD source repository



More information about the Commits mailing list