From: Miklos Szeredi Date: Wed, 20 Feb 2013 14:59:08 +0000 (+0100) Subject: libfuse: 64bit fuse_ino_t X-Git-Tag: fuse-3.0.0pre0~130 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=29e1d592d014f7ccb001d62d1c818df54095c46f;p=qemu-gpiodev%2Flibfuse.git libfuse: 64bit fuse_ino_t Change the type of fuse_ino_t from 'unsigned long' to 'uint64_t'. This only changes the size on 32bit architectures. --- diff --git a/ChangeLog b/ChangeLog index 0094c3e..508ae46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-02-20 Miklos Szeredi + + * libfuse: change the type of fuse_ino_t from 'unsigned long' to + 'uint64_t' + 2013-02-19 Miklos Szeredi * fuse_daemonize(): chdir to "/" even if not running in the diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index d2caa78..0a1d5f5 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -44,7 +44,7 @@ extern "C" { #define FUSE_ROOT_ID 1 /** Inode number type */ -typedef unsigned long fuse_ino_t; +typedef uint64_t fuse_ino_t; /** Request pointer type */ typedef struct fuse_req *fuse_req_t; @@ -122,7 +122,7 @@ struct fuse_ctx { }; struct fuse_forget_data { - uint64_t ino; + fuse_ino_t ino; uint64_t nlookup; };