Moved the definitions of DM_MULTISNAP_SYNC_SNAPSHOTS and
DM_MULTISNAP_PRESERVE_ON_ERROR outside of 'struct dm_multisnap'
---
drivers/md/dm-multisnap-private.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
+/* multisnap flags which get set by multisnap_origin_ctr() */
+#define DM_MULTISNAP_SYNC_SNAPSHOTS 1
+#define DM_MULTISNAP_PRESERVE_ON_ERROR 2
+
struct dm_multisnap {
struct dm_multisnap_exception_store *store;
struct dm_exception_store *ps;
@@ -52,9 +56,6 @@ struct dm_multisnap {
unsigned char chunk_shift;
unsigned char flags;
- /* FIXME these flags should be defined outside the struct, like agk fixed for merge */
-#define DM_MULTISNAP_SYNC_SNAPSHOTS 1
-#define DM_MULTISNAP_PRESERVE_ON_ERROR 2
sector_t origin_sectors;
--
1.6.6.1
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel