statfs header cleanup
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index 539ebce..b6f41db 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -8,7 +8,6 @@
/* This file defines the kernel interface of FUSE */
-#include "fusestat.h"
/** Version number of this interface */
#define FUSE_KERNEL_VERSION 2
@@ -61,6 +60,15 @@
unsigned long ctime;
};
+struct fuse_kstatfs {
+ long block_size;
+ long blocks;
+ long blocks_free;
+ long files;
+ long files_free;
+ long namelen;
+};
+
#define FATTR_MODE (1 << 0)
#define FATTR_UID (1 << 1)
#define FATTR_GID (1 << 2)
@@ -159,7 +167,7 @@
};
struct fuse_statfs_out {
- struct fuse_statfs st;
+ struct fuse_kstatfs st;
};
struct fuse_in_header {