Module Name: src Committed By: tkusumi Date: Fri Dec 13 16:15:54 UTC 2019
Modified Files: src/sys/dev/dm: dm_target.c Log Message: dm: Don't KASSERT() target handlers Having assertions here causes panic if target is missing anything as shown in "dm: Add dummy target ->sync()/->secsize() to prevent panic on modload(8)". Instead just return EINVAL if a handler(s) isn't implemented. taken-from: DragonFlyBSD To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/dm/dm_target.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.