Skip to contentSkip to conversation

dm headers(2nd): move headers to include/linux

RFC PATCH New Heinz Mauelshagen 1 participant 1 message Mar 6, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

cover dm headers(2nd): move headers to include/linux

Hi Alasdair,

this is a refactored series of 6 patches, which move dm-{io,log}.h and kcopyd.h to include/linux, renaming the later to dm-kcopyd.h, to better allow for their interfaces to be sharable beyond the scope of Device-Mapper.

Structure and function identifiers (e.g. io_region -> dm_io_region) get a "dm_", macros a "DM_" prefix respectively.

Existing callers are adjusted to use the new structure/function/macro names.

The Makefile now generates dm-{io,kcopyd,log} as kmods.

dm_disk(), which belongs to our external interface since long time, is exported now to allow for future callers to actually be able to access it.

If acceptable, please apply.