aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fuse.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-03-02 11:11:24 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-03-02 11:11:24 +0000
commit254d5edabb677d1ad3d4c1423b26a5337657f0e7 (patch)
tree09505de3504a160d513b59f633e1633dc76d2e3b /include/linux/fuse.h
parent33c319c567f9735633c98671bb877a9af7304b2a (diff)
downloadlibfuse-254d5edabb677d1ad3d4c1423b26a5337657f0e7.tar.gz
kernel interface changes
Diffstat (limited to 'include/linux/fuse.h')
-rw-r--r--include/linux/fuse.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index 834c1be..d5fd357 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -119,9 +119,14 @@ enum fuse_opcode {
/* Conservative buffer size for the client */
#define FUSE_MAX_IN 8192
-struct fuse_lookup_out {
- unsigned long ino;
- unsigned long generation;
+struct fuse_entry_out {
+ unsigned long ino; /* Inode number */
+ unsigned long generation; /* Inode generation: ino:gen must
+ be unique for the fs's lifetime */
+ unsigned long entry_valid; /* Cache timeout for the name */
+ unsigned long entry_valid_nsec;
+ unsigned long attr_valid; /* Cache timeout for the attributes */
+ unsigned long attr_valid_nsec;
struct fuse_attr attr;
};
@@ -129,13 +134,14 @@ struct fuse_forget_in {
int version;
};
-struct fuse_getattr_out {
+struct fuse_attr_out {
+ unsigned long attr_valid; /* Cache timeout for the attributes */
+ unsigned long attr_valid_nsec;
struct fuse_attr attr;
};
struct fuse_getdir_out {
int fd;
- void *file; /* Used by kernel only */
};
struct fuse_mknod_in {
@@ -160,10 +166,6 @@ struct fuse_setattr_in {
unsigned int valid;
};
-struct fuse_setattr_out {
- struct fuse_attr attr;
-};
-
struct fuse_open_in {
unsigned int flags;
};