]> git.baikalelectronics.ru Git - kernel.git/commit
dm exception store: refactor zero_area
authorAlasdair G Kergon <agk@redhat.com>
Tue, 21 Oct 2008 16:44:55 +0000 (17:44 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 21 Oct 2008 16:44:55 +0000 (17:44 +0100)
commit22dbe2d95fef332171a077c9992588e14aee52ce
tree3d92b66810b90bcef66a0e021e3944f335ebf9fa
parent7d55e859afd3dc079620abdc0c0171be57b33032
dm exception store: refactor zero_area

Use a separate buffer for writing zeroes to the on-disk snapshot
exception store, make the updating of ps->current_area explicit and
refactor the code in preparation for the fix in the next patch.

No functional change.

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