summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_dev.c
diff options
context:
space:
mode:
authortkusumi <tkusumi@NetBSD.org>2019-12-13 16:15:54 +0000
committertkusumi <tkusumi@NetBSD.org>2019-12-13 16:15:54 +0000
commit1bc9ac7c551d3066d6ee7088a7dfae8861341d65 (patch)
tree57c89a5015dadb0a0d2ab80f186fce82329fad20 /sys/dev/dm/dm_dev.c
parent7f8e50674f068e66d52f9ca5e301ece8bcaa1afe (diff)
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
Diffstat (limited to 'sys/dev/dm/dm_dev.c')
0 files changed, 0 insertions, 0 deletions