Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/dm



Module Name:    src
Committed By:   tkusumi
Date:           Sun Dec  8 14:59:42 UTC 2019

Modified Files:
        src/sys/dev/dm: dm.h dm_target_error.c dm_target_mirror.c
            dm_target_snapshot.c dm_target_zero.c

Log Message:
dm: Add dummy target ->sync()/->secsize() to prevent panic on modload(8)

dm_target_insert() has assertions to ensure targets implement all handlers.
Adding dummy ones at least prevents panic on modload(8).


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/dm/dm.h
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/dm/dm_target_error.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/dm/dm_target_mirror.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/dm/dm_target_snapshot.c
cvs rdiff -u -r1.19 -r1.20 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.




Home | Main Index | Thread Index | Old Index