dm snapshot: refactor zero_disk_area to use chunk_io
commit008f14e7842214765ee1f535f003ca1aa72f7ee3
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 4 Sep 2009 19:40:37 +0000 (4 20:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 17:45:33 +0000 (15 10:45 -0700)
treed171824021756d174ffbc6c3c6dfd793d13c5d43
parent8c57b59008353a5e218c12bccb8bd1c2cf7ea5d9
dm snapshot: refactor zero_disk_area to use chunk_io

commit 02d2fd31defce6ff77146ad0fef4f19006055d86 upstream.

Refactor chunk_io to prepare for the fix in the following patch.

Pass an area pointer to chunk_io and simplify zero_disk_area to use
chunk_io.  No functional change.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-snap-persistent.c