dm snapshot: refactor zero_disk_area to use chunk_io
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 4 Sep 2009 19:40:37 +0000 (20:40 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 4 Sep 2009 19:40:37 +0000 (20:40 +0100)
commit02d2fd31defce6ff77146ad0fef4f19006055d86
treede8103e62595fbc1efcd39ff83bf146018e5180b
parent7ec23d50949d5062b5b749638dd9380ed75e58e5
dm snapshot: refactor zero_disk_area to use chunk_io

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.

Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap-persistent.c