Mikulas Patocka 94e76572b5 dm snapshot: only take lock for statustype info not table
Take snapshot lock only for STATUSTYPE_INFO, not STATUSTYPE_TABLE.

Commit 4c6fff445d7aa753957856278d4d93bcad6e2c14
(dm-snapshot-lock-snapshot-while-supplying-status.patch)
introduced this use of the lock, but userspace applications using
libdevmapper have been found to request STATUSTYPE_TABLE while the device
is suspended and the lock is already held, leading to deadlock.  Since
the lock is not necessary in this case, don't try to take it.

Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2009-12-10 23:51:53 +00:00
..
2006-01-01 22:21:50 +01:00
2009-06-22 10:12:26 +01:00
2009-12-10 23:51:52 +00:00
2009-04-09 00:27:17 +01:00
2009-09-14 08:24:52 +02:00
2009-09-04 20:40:25 +01:00
2009-12-10 23:51:52 +00:00
2007-10-20 02:01:26 +01:00
2009-03-31 14:57:37 +11:00