[PATCH] dm snapshot: tidy snapshot_map
authorAlasdair G Kergon <agk@redhat.com>
Tue, 3 Oct 2006 08:15:28 +0000 (01:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:14 +0000 (08:04 -0700)
commitba40a2aa6e6f3d084cf35c8b872fc9f18f91231f
treed32ec4949a0a9721e8955e7f0e98130019d95849
parent927ffe7c9a156e259aae31c07dd76072c459ec57
[PATCH] dm snapshot: tidy snapshot_map

This patch rearranges the snapshot_map code so that the functional changes in
subsequent patches are clearer.

The only functional change is to replace the existing read lock with a write
lock which the next patch needs.

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