aboutsummaryrefslogtreecommitdiffstats
path: root/example/null.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-02-19 14:23:27 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-02-19 14:23:27 +0000
commit18e75e4cb186b5d247caea5c9aa21b69e4914c50 (patch)
tree71fdaa602c8c70ecf933a9ec4cd3e4d8156026e8 /example/null.c
parentfa39e90ea08e2d6f976deec8f12eda27a14e0813 (diff)
downloadlibfuse-18e75e4cb186b5d247caea5c9aa21b69e4914c50.tar.gz
statfs fixes
Diffstat (limited to 'example/null.c')
-rw-r--r--example/null.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/example/null.c b/example/null.c
index f9ead78..d897e92 100644
--- a/example/null.c
+++ b/example/null.c
@@ -64,19 +64,12 @@ static int null_write(const char *path, const char *UNUSED(buf), size_t size,
return size;
}
-static int null_statfs(struct fuse_statfs *st)
-{
- return st->block_size = st->blocks = st->blocks_free = st->files =
- st->files_free = st->namelen = 0;
-}
-
static struct fuse_operations null_oper = {
.getattr = null_getattr,
.truncate = null_truncate,
.open = null_open,
.read = null_read,
.write = null_write,
- .statfs = null_statfs,
};
int main(int argc, char *argv[])