~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to debian/patches/missing-dmeventd.patch

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2014-08-19 15:37:06 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20140819153706-i1gaio8lg534dara
Tags: 2.02.109-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
--- a/daemons/dmeventd/libdevmapper-event.c
5
5
+++ b/daemons/dmeventd/libdevmapper-event.c
6
 
@@ -436,7 +436,10 @@
 
6
@@ -430,7 +430,10 @@
7
7
        /* server is not running */
8
8
 
9
9
        if ((args[0][0] == '/') && stat(args[0], &statbuf)) {
15
15
                return 0;
16
16
        }
17
17
 
18
 
@@ -626,10 +629,19 @@
 
18
@@ -620,10 +623,19 @@
19
19
 
20
20
        if ((err = _do_event(DM_EVENT_CMD_REGISTER_FOR_EVENT, dmevh->dmeventd_path, &msg,
21
21
                             dmevh->dso, uuid, dmevh->mask, dmevh->timeout)) < 0) {
41
41
        dm_free(msg.data);
42
42
--- a/lib/activate/activate.c
43
43
+++ b/lib/activate/activate.c
44
 
@@ -1603,10 +1603,12 @@
 
44
@@ -1609,10 +1609,12 @@
45
45
 
46
46
        if (!r)
47
47
                return_0;
57
57
 }
58
58
 
59
59
 #endif
60
 
@@ -1620,7 +1622,7 @@
 
60
@@ -1626,7 +1628,7 @@
61
61
 {
62
62
 #ifdef DMEVENTD
63
63
        int i, pending = 0, monitored;
66
66
        struct dm_list *snh, *snht;
67
67
        struct lv_segment *seg;
68
68
        struct lv_segment *log_seg;
69
 
@@ -1755,25 +1757,30 @@
 
69
@@ -1761,25 +1763,30 @@
70
70
                        continue;
71
71
 
72
72
                /* FIXME specify events */