dm-exception-store API
PATCH 1/1 dm-exception-store API
brassow
Creation of dm-exception-store.h
Pull structures that bridge the gap between snapshot and exception store out of dm-snap.h and put them in a new .h file - dm-exception-store.h. This file will define the API for new exception stores.
Ultimately, dm-snap.h is unnecessary, since only dm-snap.c should be using it.
Signed-off-by Jonathan Brassow <[email protected]>
drivers/md/dm-exception-store.c +1 -0
@@ -7,6 +7,7 @@* This file is released under the GPL. */ +#include "dm-exception-store.h" #include "dm-snap.h" #include <linux/mm.h>
drivers/md/dm-exception-store.h new file +131 -0
131 lines not on this page · raw message
drivers/md/dm-snap.c +1 -0
@@ -20,6 +20,7 @@#include <linux/log2.h> #include <linux/dm-kcopyd.h> +#include "dm-exception-store.h" #include "dm-snap.h" #include "dm-bio-list.h"
drivers/md/dm-snap.h +0 -118
130 lines not on this page · raw message