[Gluster-devel] Quick Update: a cleanup patch and subsequent build failures

Amar Tumballi Suryanarayan atumball at redhat.com
Fri Jun 14 17:15:29 UTC 2019


I just merged a larger cleanup patch, which I felt is good to get in, but
due to the order of its parents when it passed the regression and smoke,
and the other patches which got merged in same time, we hit a compile issue
for 'undefined functions'.

Below patch fixes it:
----
    glfs: add syscall.h after header cleanup

    in one of the recent patches, we cleaned-up the unneccesary header
    file includes. In the order of merging the patches, there cropped
    up an compile error.

    updates: bz#1193929
    Change-Id: I2ad52aa918f9c698d5273bb293838de6dd50ac31
    Signed-off-by: Amar Tumballi <amarts at redhat.com>

diff --git a/api/src/glfs.c b/api/src/glfs.c
index b0db866441..0771e074d6 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -45,6 +45,7 @@
 #include <glusterfs/hashfn.h>
 #include "rpc-clnt.h"
 #include <glusterfs/statedump.h>
+#include <glusterfs/syscall.h>

 #include "gfapi-messages.h"
 #include "glfs.h"

-----
The patch has been pushed to repository, as it is causing critical compile
error right now. and if you have a build error, please fetch the latest
master to fix the the issue.

Regards,
Amar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20190614/d9408204/attachment.html>


More information about the Gluster-devel mailing list