1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Avoid deptree attempting to suspend a device that's already suspended.

This commit is contained in:
Alasdair Kergon 2006-10-13 14:03:35 +00:00
parent 805dad5940
commit b700541f3b
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.12 -
==============================
Avoid deptree attempting to suspend a device that's already suspended.
Version 1.02.11 - 12 Oct 2006
==============================

View File

@ -1028,7 +1028,7 @@ int dm_tree_suspend_children(struct dm_tree_node *dnode,
continue;
if (!_info_by_dev(dinfo->major, dinfo->minor, 0, &info) ||
!info.exists)
!info.exists || info.suspended)
continue;
if (!_suspend_node(name, info.major, info.minor,