aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-04-24 16:43:11 -0400
committerAlasdair G Kergon <agk@redhat.com>2008-04-25 08:26:40 -0400
commit72727bad544b4ce0a3f7853bfd7ae939f398007d (patch)
tree97961bf4031c9fa1739f545e6030e8ab6cbf0ecc /drivers/md/dm-snap.h
parent769aef30f0f505c44bbe9fcd2c911a052a386139 (diff)
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 {
132 132
133struct dm_snapshot { 133struct dm_snapshot {
134 struct rw_semaphore lock; 134 struct rw_semaphore lock;
135 struct dm_table *table; 135 struct dm_target *ti;
136 136
137 struct dm_dev *origin; 137 struct dm_dev *origin;
138 struct dm_dev *cow; 138 struct dm_dev *cow;