diff options
author | Mark Glines <mark@glines.org> | 2002-01-07 16:32:02 +0000 |
---|---|---|
committer | Mark Glines <mark@glines.org> | 2002-01-07 16:32:02 +0000 |
commit | d84b39ac42882a2cc2e7f85ed5f02ada03744d9e (patch) | |
tree | 2af8738e204bdd4f3057fbaf0946ab56447068ff /include/linux | |
parent | 6ebe234cc8160d7540add80a75cc7772e08236f5 (diff) | |
download | libfuse-d84b39ac42882a2cc2e7f85ed5f02ada03744d9e.tar.gz |
Added statfs support to kernel, lib, examples, and perl
other minor perl fixes (still unstable)
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fuse.h | 14 |
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; |