Module Name: src Committed By: tkusumi Date: Mon Dec 23 16:17:36 UTC 2019
Modified Files: src/sys/dev/dm: dm.h dm_ioctl.c dm_target.c dm_target_error.c dm_target_zero.c Log Message: dm: Make target's ->table() optional Since ->info() (counter part of ->table() in the original dm design in Linux kernel in .status where both INFO and TABLE are optional) is an optional handler, make ->table() optional as well. Some targets don't have anything to do in ->table() just as in ->info(). taken-from: DragonFlyBSD To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/dev/dm/dm.h cvs rdiff -u -r1.48 -r1.49 src/sys/dev/dm/dm_ioctl.c cvs rdiff -u -r1.36 -r1.37 src/sys/dev/dm/dm_target.c cvs rdiff -u -r1.27 -r1.28 src/sys/dev/dm/dm_target_error.c cvs rdiff -u -r1.29 -r1.30 src/sys/dev/dm/dm_target_zero.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.