From 18e75e4cb186b5d247caea5c9aa21b69e4914c50 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Thu, 19 Feb 2004 14:23:27 +0000 Subject: statfs fixes --- include/linux/fuse.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'include/linux/fuse.h') diff --git a/include/linux/fuse.h b/include/linux/fuse.h index 909c8b0..2b516a5 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h @@ -9,10 +9,10 @@ /* This file defines the kernel interface of FUSE */ /** Version number of this interface */ -#define FUSE_KERNEL_VERSION 2 +#define FUSE_KERNEL_VERSION 3 /** Minor version number of this interface */ -#define FUSE_KERNEL_MINOR_VERSION 2 +#define FUSE_KERNEL_MINOR_VERSION 1 /** The inode number of the root indode */ #define FUSE_ROOT_INO 1 @@ -74,12 +74,13 @@ struct fuse_attr { }; struct fuse_kstatfs { - long block_size; - long blocks; - long blocks_free; - long files; - long files_free; - long namelen; + unsigned int bsize; + unsigned long long blocks; + unsigned long long bfree; + unsigned long long bavail; + unsigned long long files; + unsigned long long ffree; + unsigned int namelen; }; #define FATTR_MODE (1 << 0) -- cgit v1.2.3