aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2009-12-10 23:51:53 +0000
committerAlasdair G Kergon <[email protected]>2009-12-10 23:51:53 +0000
commit94e76572b5dd37b1f0f4b3742ee8a565daead932 (patch)
tree2e7737f21d99a881b7a2d0977adad1d2bd9bfb87 /include/linux
parentd2bb7df8cac647b92f51fb84ae735771e7adbfa7 (diff)
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: [email protected] Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions