diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2007-10-16 14:29:28 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2007-10-16 14:29:28 +0000 |
commit | f95aacb1a870b8a89e92c53cfe8606f62995ae9f (patch) | |
tree | 6b240e7150cc2a8a8a59fc3141adf67316a66dcc /include/fuse_lowlevel.h | |
parent | b41c45be83d625097052b5362704f210795c6220 (diff) | |
download | libfuse-f95aacb1a870b8a89e92c53cfe8606f62995ae9f.tar.gz |
doc update from Evan Jones
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r-- | include/fuse_lowlevel.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index 0d97b69..1f2aa5e 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -75,11 +75,15 @@ struct fuse_entry_param { */ fuse_ino_t ino; - /** The ino/generation pair should be unique for the filesystem's - lifetime */ + /** Generation number for this entry. The ino/generation pair + should be unique for the filesystem's lifetime. It must be + non-zero, otherwise FUSE will treat it as an error. */ unsigned long generation; - /** Inode attributes */ + /** Inode attributes. Even if attr_timeout == 0, attr must be + correct. For example, for open(), FUSE uses attr.st_size from + lookup() to determine how many bytes to request. If this + value is not correct, incorrect data will be returned. */ struct stat attr; /** Validity timeout (in seconds) for the attributes */ @@ -158,7 +162,7 @@ struct fuse_lowlevel_ops { void (*destroy) (void *userdata); /** - * Look up a directory entry by name + * Look up a directory entry by name and get its attributes. * * Valid replies: * fuse_reply_entry |