dm snapshot: prepare for switch to using dm-bufio
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 14 Jan 2014 00:14:04 +0000 (19:14 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 14 Jan 2014 18:38:32 +0000 (13:38 -0500)
commit2cadabd512acca99e6553d303eaedc97a3178a4d
treeaec274ee48975f8ad9f0b53419c6272c9ec8439c
parent119bc547362e5252074f81f56b8fcdac45cedff4
dm snapshot: prepare for switch to using dm-bufio

Change the functions get_exception, read_exception and insert_exceptions
so that ps->area is passed as an argument.

This patch doesn't change any functionality, but it refactors the code
to allow for a cleaner switch over to using dm-bufio.

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