]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] dm snapshot: tidy pending_complete
authorAlasdair G Kergon <agk@redhat.com>
Tue, 3 Oct 2006 08:15:29 +0000 (01:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:14 +0000 (08:04 -0700)
commit9d493fa8c943ed4ec6e42b7ebfd8f0b7657d54f8
tree8d7cac80b09a73058fd491563737a77db47df7de
parentba40a2aa6e6f3d084cf35c8b872fc9f18f91231f
[PATCH] dm snapshot: tidy pending_complete

This patch rearranges the pending_complete() code so that the functional
changes in subsequent patches are clearer.

By consolidating the error and the non-error paths, we can move
error_snapshot_bios() and __flush_bios() in line.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-snap.c