git: sys/dev/disk/dm: Rename variable

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Oct 25 07:57:22 PDT 2015


commit 2d59555fe73022cdef5562ac2ea746158ca0f15c
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Oct 24 17:59:57 2015 +0900

    sys/dev/disk/dm: Rename variable
    
    struct dm_dev *dm_dev;
    is just confusing.
    
    From the way other struct dm_dev type variables are named,
    it should be either dev or dmv, and those two should probably
    be either but not both. Same for struct dm_pdev.

Summary of changes:
 sys/dev/disk/dm/dm.h                | 2 +-
 sys/dev/disk/dm/dm_ioctl.c          | 2 +-
 sys/dev/disk/dm/doc/proposal-dm.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list