dm snapshot: allocate a per-target structure for snapshot-origin target
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 14 Mar 2014 22:42:12 +0000 (18:42 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Jun 2014 17:44:07 +0000 (13:44 -0400)
commit599cdf3bfbe21fe94f4416c9e54363b285c9532a
treed4c8842cad77c668b7054f62c24eedfaf0e2a1e3
parent1dd40c3ecd9b8a4ab91dbf2e6ce10b82a3b5ae63
dm snapshot: allocate a per-target structure for snapshot-origin target

Allocate a per-target dm_origin structure.  This is a prerequisite for
the next commit ("dm snapshot: do not split read bios sent to
snapshot-origin target") which adds a new member to this structure.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-snap.c