mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 20:24:17 +08:00
Change generation and nlookup from 'unsigned long' to 'uint64_t'
This commit is contained in:
parent
9ffe64abe1
commit
46f1ac6c1a
@ -88,7 +88,7 @@ struct fuse_entry_param {
|
||||
* it as an error.
|
||||
*
|
||||
*/
|
||||
unsigned long generation;
|
||||
uint64_t generation;
|
||||
|
||||
/** Inode attributes.
|
||||
*
|
||||
@ -233,7 +233,7 @@ struct fuse_lowlevel_ops {
|
||||
* @param ino the inode number
|
||||
* @param nlookup the number of lookups to forget
|
||||
*/
|
||||
void (*forget) (fuse_req_t req, fuse_ino_t ino, unsigned long nlookup);
|
||||
void (*forget) (fuse_req_t req, fuse_ino_t ino, uint64_t nlookup);
|
||||
|
||||
/**
|
||||
* Get file attributes
|
||||
|
@ -2529,8 +2529,7 @@ static void do_forget(struct fuse *f, fuse_ino_t ino, uint64_t nlookup)
|
||||
forget_node(f, ino, nlookup);
|
||||
}
|
||||
|
||||
static void fuse_lib_forget(fuse_req_t req, fuse_ino_t ino,
|
||||
unsigned long nlookup)
|
||||
static void fuse_lib_forget(fuse_req_t req, fuse_ino_t ino, uint64_t nlookup)
|
||||
{
|
||||
do_forget(req_fuse(req), ino, nlookup);
|
||||
fuse_reply_none(req);
|
||||
|
Loading…
Reference in New Issue
Block a user