[PATCH] device-mapper: fix deadlocks in core (prep)
authorAlasdair G Kergon <agk@redhat.com>
Fri, 29 Jul 2005 04:15:57 +0000 (21:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 04:46:03 +0000 (21:46 -0700)
commitcf222b3769c3759488579441ab724ed33a2da5f4
treeb49e2a731a02cc9a280183232ecad5c165f121eb
parent8c56ac3f3b12936b03d2626c7572fed5977af515
[PATCH] device-mapper: fix deadlocks in core (prep)

Some code tidy-ups in preparation for the next patches.  Change
dm_table_pre/postsuspend_targets to accept NULL.  Use dm_suspended()
throughout.

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-table.c
drivers/md/dm.c