2 * Copyright (C) 2001-2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2006-2008 Red Hat GmbH
5 * This file is released under the GPL.
8 #include "dm-exception-store.h"
11 #include <linux/pagemap.h>
12 #include <linux/vmalloc.h>
13 #include <linux/slab.h>
14 #include <linux/device-mapper.h>
16 #define DM_MSG_PREFIX "snapshot exception stores"
18 int dm_exception_store_init(void)
22 r = dm_transient_snapshot_init();
24 DMERR("Unable to register transient exception store type.");
28 r = dm_persistent_snapshot_init();
30 DMERR("Unable to register persistent exception store type");
37 dm_persistent_snapshot_exit();
42 void dm_exception_store_exit(void)
44 dm_persistent_snapshot_exit();
45 dm_transient_snapshot_exit();