summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-04-24 22:43:11 +0200
committerAlasdair G Kergon <agk@redhat.com>2008-04-25 14:26:40 +0200
commit72727bad544b4ce0a3f7853bfd7ae939f398007d (patch)
tree97961bf4031c9fa1739f545e6030e8ab6cbf0ecc /drivers/md/dm-snap.h
parentdm log: move dirty region log code into separate module (diff)
downloadlinux-72727bad544b4ce0a3f7853bfd7ae939f398007d.tar.xz
linux-72727bad544b4ce0a3f7853bfd7ae939f398007d.zip
dm snapshot: store pointer to target instance
Save pointer to dm_target in dm_snapshot structure. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-snap.h')
-rw-r--r--drivers/md/dm-snap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index 93bce5d49742..434d1dbe6bce 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -132,7 +132,7 @@ struct exception_store {
struct dm_snapshot {
struct rw_semaphore lock;
- struct dm_table *table;
+ struct dm_target *ti;
struct dm_dev *origin;
struct dm_dev *cow;