Logoj0ke.net Open Build Service > Projects > GFS > openais > revision-1465.patch
Sign Up | Log In

File revision-1465.patch of Package openais (Revision d18554efb4e49d53b81eaf2da636b014)

Currently displaying revision d18554efb4e49d53b81eaf2da636b014, show latest

x
 
1
Index: exec/totemsrp.c
2
===================================================================
3
--- exec/totemsrp.c (revision 1464)
4
+++ exec/totemsrp.c (revision 1465)
5
@@ -2838,7 +2838,6 @@
6
        }
7
        res = write (fd, &memb_ring_id->seq, sizeof (unsigned long long));
8
        assert (res == sizeof (unsigned long long));
9
-       fsync (fd);
10
        close (fd);
11
    } else {
12
        log_printf (instance->totemsrp_log_level_warning,
13
@@ -2879,7 +2878,6 @@
14
    //assert (fd > 0);
15
    res = write (fd, &instance->my_ring_id.seq, sizeof (unsigned long long));
16
    assert (res == sizeof (unsigned long long));
17
-   fsync (fd);
18
    close (fd);
19
 }
20
 
21