summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-04-24 21:43:11 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-04-25 13:26:40 +0100
commit72727bad544b4ce0a3f7853bfd7ae939f398007d (patch)
tree97961bf4031c9fa1739f545e6030e8ab6cbf0ecc /drivers/md/dm-snap.h
parent769aef30f0f505c44bbe9fcd2c911a052a386139 (diff)
downloadlinux-72727bad544b4ce0a3f7853bfd7ae939f398007d.tar.bz2
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;