]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit12e4b61715f41d9013af9ee92b88398b08708461
treed32ec4949a0a9721e8955e7f0e98130019d95849
parent821d9e6b10a07d2fa2c277cc0d388ac7451fa638
[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