aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fuse.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fuse.h')
-rw-r--r--include/linux/fuse.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index 53cb3f0..40f3950 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -83,6 +83,7 @@ enum fuse_opcode {
FUSE_OPEN = 14,
FUSE_READ = 15,
FUSE_WRITE = 16,
+ FUSE_STATFS = 17,
};
/* Conservative buffer size for the client */
@@ -156,6 +157,19 @@ struct fuse_write_in {
char buf[0];
};
+typedef struct fuse_statfs {
+ long block_size;
+ long blocks;
+ long blocks_free;
+ long files;
+ long files_free;
+ long namelen;
+} fuse_statfs_t;
+
+struct fuse_statfs_out {
+ struct fuse_statfs st;
+};
+
struct fuse_in_header {
int unique;
enum fuse_opcode opcode;