summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap-persistent.c
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2011-08-02 12:32:03 +0100
committerAlasdair G Kergon <agk@redhat.com>2011-08-02 12:32:03 +0100
commita2d2b0345a0f30c169b7d08b8cebdd4853fcb0f8 (patch)
treebaa54cd731f8c191eb8574ae34bc4f8638a6ed79 /drivers/md/dm-snap-persistent.c
parentaa3f0794d279cd154ac100f92ff3904ea1f56de2 (diff)
downloadblackbird-op-linux-a2d2b0345a0f30c169b7d08b8cebdd4853fcb0f8.tar.gz
blackbird-op-linux-a2d2b0345a0f30c169b7d08b8cebdd4853fcb0f8.zip
dm snapshot: style cleanups
Coding style cleanups. Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
-rw-r--r--drivers/md/dm-snap-persistent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-snap-persistent.c b/drivers/md/dm-snap-persistent.c
index 1a0acb8abdf6..d1f1d7017103 100644
--- a/drivers/md/dm-snap-persistent.c
+++ b/drivers/md/dm-snap-persistent.c
@@ -567,7 +567,7 @@ static int persistent_read_metadata(struct dm_exception_store *store,
ps->exceptions_per_area = (ps->store->chunk_size << SECTOR_SHIFT) /
sizeof(struct disk_exception);
ps->callbacks = dm_vcalloc(ps->exceptions_per_area,
- sizeof(*ps->callbacks));
+ sizeof(*ps->callbacks));
if (!ps->callbacks)
return -ENOMEM;
@@ -674,7 +674,7 @@ static void persistent_commit_exception(struct dm_exception_store *store,
* If we completely filled the current area, then wipe the next one.
*/
if ((ps->current_committed == ps->exceptions_per_area) &&
- zero_disk_area(ps, ps->current_area + 1))
+ zero_disk_area(ps, ps->current_area + 1))
ps->valid = 0;
/*
OpenPOWER on IntegriCloud