dm snapshot: extend exception store functions
commita159c1ac5f33c6cf0f5aa3c9d1ccdc82c907ee46
authorJonathan Brassow <jbrassow@redhat.com>
Tue, 6 Jan 2009 03:05:19 +0000 (6 03:05 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 6 Jan 2009 03:05:19 +0000 (6 03:05 +0000)
tree2cb6bfd3f376e2366f3e3820ebd07a0a86a01cfc
parent4db6bfe02bdc7dc5048f46dd682a94801d029adc
dm snapshot: extend exception store functions

Supply dm_add_exception as a callback to the read_metadata function.
Add a status function ready for a later patch and name the functions
consistently.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-exception-store.c
drivers/md/dm-exception-store.h
drivers/md/dm-snap-persistent.c
drivers/md/dm-snap-transient.c
drivers/md/dm-snap.c
drivers/md/dm-snap.h