dm snapshot: move status to exception store
authorJonathan Brassow <jbrassow@redhat.com>
Thu, 2 Apr 2009 18:55:35 +0000 (19:55 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 2 Apr 2009 18:55:35 +0000 (19:55 +0100)
commit1e302a929e2da6e8448e2058e4b07b07252b57fe
tree3345d31926a2254a2041d62d270cba76b2590bae
parentfee1998e9c690f9920671e1e0ef187a48cfbbde4
dm snapshot: move status to exception store

Let the exception store types print out their status through
the new API, rather than having the snapshot code do it.

Adjust the buffer position to allow for the preceding DMEMIT in the
arguments to type->status().

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