git: sys/dev/disk/dm: Refactor dm_table_status_ioctl()

Tomohiro Kusumi tkusumi at
Sat Nov 7 10:41:19 PST 2015

commit e243a4fb6cb6ec6b9187ab956680b37f79a0bd5c
Author: Tomohiro Kusumi <kusumi.tomohiro at>
Date:   Sun Nov 8 02:55:24 2015 +0900

    sys/dev/disk/dm: Refactor dm_table_status_ioctl()
    dm_table_status_ioctl() is getting messy, so separate
    table/info handler related part into a different function.
    prop_dictionary_set_cstring(target_dict, DM_TABLE_PARAMS, "");
    is necessary when table/info handlers aren't supported or
    handlers return NULL. See a6cf5418.

Summary of changes:
 sys/dev/disk/dm/dm_ioctl.c | 53 ++++++++++++++++++++++++++++------------------
 1 file changed, 32 insertions(+), 21 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list