]> git.baikalelectronics.ru Git - kernel.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)
commit816c1320253624a5d456ddacc53dd29bd1d60fde
tree8d7cac80b09a73058fd491563737a77db47df7de
parent12e4b61715f41d9013af9ee92b88398b08708461
[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