Hi! Compiling tools/fs-back/fs-ops.c fails. Build error messages are below. Attached patch fixes these by: - using sys/statvfs.h - renaming struct mount to struct fs_mount - making functions w/o a prototype static Signed-of-by: Christoph Egger <Christoph.Egger@amd.com> fs-ops.c:13:21: error: sys/vfs.h: No such file or directory In file included from fs-ops.c:16: fs-backend.h:35: error: redefinition of ''struct mount'' cc1: warnings being treated as errors fs-ops.c: In function ''get_request'': fs-ops.c:28: error: ''struct mount'' has no member named ''freelist'' fs-ops.c:31: error: ''struct mount'' has no member named ''requests'' fs-ops.c:32: error: ''struct mount'' has no member named ''requests'' fs-ops.c: In function ''get_fd'': fs-ops.c:42: error: ''struct mount'' has no member named ''fds'' fs-ops.c: In function ''dispatch_file_open'': fs-ops.c:59: error: ''struct mount'' has no member named ''gnth'' fs-ops.c:60: error: ''struct mount'' has no member named ''dom_id'' fs-ops.c:66: error: ''struct mount'' has no member named ''export'' fs-ops.c:69: error: ''struct mount'' has no member named ''export'' fs-ops.c:70: error: ''struct mount'' has no member named ''gnth'' fs-ops.c:79: error: ''struct mount'' has no member named ''fds'' fs-ops.c:85: error: ''struct mount'' has no member named ''ring'' fs-ops.c:89: error: ''struct mount'' has no member named ''ring'' fs-ops.c:91: error: ''struct mount'' has no member named ''ring'' fs-ops.c:91: error: ''struct mount'' has no member named ''ring'' fs-ops.c: In function ''dispatch_file_close'': fs-ops.c:107: error: ''struct mount'' has no member named ''fds'' fs-ops.c:109: error: ''struct mount'' has no member named ''fds'' fs-ops.c:115: error: ''struct mount'' has no member named ''ring'' fs-ops.c:119: error: ''struct mount'' has no member named ''ring'' fs-ops.c:121: error: ''struct mount'' has no member named ''ring'' fs-ops.c:121: error: ''struct mount'' has no member named ''ring'' fs-ops.c: In function ''dispatch_file_read'': fs-ops.c:134: error: ''struct mount'' has no member named ''gnth'' fs-ops.c:135: error: ''struct mount'' has no member named ''dom_id'' fs-ops.c:144: error: ''struct mount'' has no member named ''fds'' fs-ops.c:150: error: ''struct mount'' has no member named ''requests'' -- AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel