From 85801bbad1b3f1160bd35608f30048faa8d94995 Mon Sep 17 00:00:00 2001 From: Mark Glines Date: Sun, 17 Mar 2002 06:58:33 +0000 Subject: 'struct statfs' changes size, and entries within it change position, depending on which headerfiles are included and which macros are defined. Because its unreliable, we now use struct fuse_statfs everywhere except in the kernel. Also fixed some perl fuse_main semantics - it now works much better when multithreading is disabled. --- include/fusestat.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/fusestat.h (limited to 'include/fusestat.h') diff --git a/include/fusestat.h b/include/fusestat.h new file mode 100644 index 0000000..a18509c --- /dev/null +++ b/include/fusestat.h @@ -0,0 +1,14 @@ +#ifndef __FUSESTAT_H_ +#define __FUSESTAT_H_ +/* this is seperated out into its own file because both + * kernel and lib use it, but neither can #include the + * other's headerfile */ +typedef struct fuse_statfs { + long block_size; + long blocks; + long blocks_free; + long files; + long files_free; + long namelen; +} fuse_statfs_t; +#endif -- cgit v1.2.3