diff options
author | David McNab <david@rebirthing.co.nz> | 2003-12-13 02:05:46 +0000 |
---|---|---|
committer | David McNab <david@rebirthing.co.nz> | 2003-12-13 02:05:46 +0000 |
commit | 7a19cafc5d0fb8786a61fdadba1a6014a0396e5f (patch) | |
tree | 1ce570e0ec979f5d07d0ab17052421786e4006f0 /lib | |
parent | 5e43f2c00c1ce3a9ee3ed9c2b5a9b32dabbb6e60 (diff) | |
download | libfuse-7a19cafc5d0fb8786a61fdadba1a6014a0396e5f.tar.gz |
Added 'fsync' stub in example/fusexmp.c
Added support for 'fsync' and 'statfs' to python interface, and
to python fs example
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -864,6 +864,17 @@ static void do_statfs(struct fuse *f, struct fuse_in_header *in) res = f->op.statfs((struct fuse_statfs *) &arg.st); } + if (0) + { + printf("block_size=%ld, blocks=%ld, blocks_free=%ld, files=%ld, files_free=%ld, namelen=%ld\n", + arg.st.block_size, + arg.st.blocks, + arg.st.blocks_free, + arg.st.files, + arg.st.files_free, + arg.st.namelen); + } + send_reply(f, in, res, &arg, sizeof(arg)); } |