]> sourceware.org Git - lvm2.git/commitdiff
switch in new suspend code (untested)
authorAlasdair Kergon <agk@redhat.com>
Wed, 26 Oct 2005 14:13:52 +0000 (14:13 +0000)
committerAlasdair Kergon <agk@redhat.com>
Wed, 26 Oct 2005 14:13:52 +0000 (14:13 +0000)
lib/activate/dev_manager.c

index 2ade5a4599b81d6862dff53b8eb54f2004852cbb..e18fcfed7fa493ced0bbf0f5f0bdb5d2b20b7092 100644 (file)
@@ -2185,11 +2185,6 @@ int dev_manager_activate(struct dev_manager *dm, struct logical_volume *lv)
        return _action(dm, lv, ACTIVATE);
 }
 
-int dev_manager_suspend(struct dev_manager *dm, struct logical_volume *lv)
-{
-       return _action(dm, lv, SUSPEND);
-}
-
 int dev_manager_lv_mknodes(const struct logical_volume *lv)
 {
        char *name;
@@ -2330,6 +2325,7 @@ out:
        return r;
 }
 
+
 int dev_manager_deactivate(struct dev_manager *dm, struct logical_volume *lv)
 {
        int r;
@@ -2341,6 +2337,11 @@ int dev_manager_deactivate(struct dev_manager *dm, struct logical_volume *lv)
        return r;
 }
 
+int dev_manager_suspend(struct dev_manager *dm, struct logical_volume *lv)
+{
+       return _tree_action(dm, lv, SUSPEND);
+}
+
 /*
  * Does device use VG somewhere in its construction?
  * Returns 1 if uncertain.
This page took 0.037636 seconds and 5 git commands to generate.