Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2d2b034 authored by Jonathan Brassow's avatar Jonathan Brassow Committed by Alasdair G Kergon
Browse files

dm snapshot: style cleanups



Coding style cleanups.

Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
Signed-off-by: default avatarJonathan Brassow <jbrassow@redhat.com>
parent aa3f0794
Loading
Loading
Loading
Loading
+6 −8
Original line number Original line Diff line number Diff line
@@ -1045,8 +1045,7 @@ static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv)


	s = kmalloc(sizeof(*s), GFP_KERNEL);
	s = kmalloc(sizeof(*s), GFP_KERNEL);
	if (!s) {
	if (!s) {
		ti->error = "Cannot allocate snapshot context private "
		ti->error = "Cannot allocate private snapshot structure";
		    "structure";
		r = -ENOMEM;
		r = -ENOMEM;
		goto bad;
		goto bad;
	}
	}
@@ -1470,8 +1469,7 @@ static void start_copy(struct dm_snap_pending_exception *pe)
	dest.count = src.count;
	dest.count = src.count;


	/* Hand over to kcopyd */
	/* Hand over to kcopyd */
	dm_kcopyd_copy(s->kcopyd_client,
	dm_kcopyd_copy(s->kcopyd_client, &src, 1, &dest, 0, copy_callback, pe);
		    &src, 1, &dest, 0, copy_callback, pe);
}
}


static struct dm_snap_pending_exception *
static struct dm_snap_pending_exception *
+2 −2

File changed.

Contains only whitespace changes.