aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2008-04-30 03:54:44 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 11:29:51 -0400
commitb48badf013018ef2aa4a46416454bdb18f77fb01 (patch)
tree62ac36c4699c47174fbfbb4d87c6d98988378346 /fs/fuse/fuse_i.h
parente5d9a0df07484d6d191756878c974e4307fb24ce (diff)
fuse: fix node ID type
Node ID is 64bit but it is passed as unsigned long to some functions. This breakage wasn't noticed, because libfuse uses unsigned long too. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 934dd819a4ef..dadffa21a206 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -464,7 +464,7 @@ extern const struct file_operations fuse_dev_operations;
464/** 464/**
465 * Get a filled in inode 465 * Get a filled in inode
466 */ 466 */
467struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid, 467struct inode *fuse_iget(struct super_block *sb, u64 nodeid,
468 int generation, struct fuse_attr *attr, 468 int generation, struct fuse_attr *attr,
469 u64 attr_valid, u64 attr_version); 469 u64 attr_valid, u64 attr_version);
470 470
@@ -472,7 +472,7 @@ struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid,
472 * Send FORGET command 472 * Send FORGET command
473 */ 473 */
474void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req, 474void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req,
475 unsigned long nodeid, u64 nlookup); 475 u64 nodeid, u64 nlookup);
476 476
477/** 477/**
478 * Initialize READ or READDIR request 478 * Initialize READ or READDIR request