aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-10-10 18:53:38 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2006-10-10 18:53:38 +0000
commit53eec2a0d51ac5b126777fc61fa12bbc35a1a441 (patch)
treed8f7502a037127f6a52258958cd7715910f86de3
parentb9ea32fc3bb3410c5f436c1f1f90558ff189bf23 (diff)
downloadlibfuse-53eec2a0d51ac5b126777fc61fa12bbc35a1a441.tar.gz
doc fixes
-rw-r--r--.cvsignore1
-rw-r--r--ChangeLog2
-rw-r--r--include/fuse.h1
-rw-r--r--include/fuse_common.h30
4 files changed, 33 insertions, 1 deletions
diff --git a/.cvsignore b/.cvsignore
index 8c9db8e..88cec53 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -9,6 +9,7 @@ missing
*.cache
config.*
depcomp
+compile
libtool
INSTALL
fuse.pc
diff --git a/ChangeLog b/ChangeLog
index bdd4c5f..053fd0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,7 +8,7 @@
* ulockmgr: handle the case, when a locking operation fails
because no more file desctriptors are available in
ulockmgr_server. Also work around a Linux kernel bug (known to
- exist for all Linux kernel versions <= 2.6.19) which may cause
+ exist for all Linux kernel versions <= 2.6.18) which may cause
sent file descriptors to be lost in the above case
* ulockmgr: optimize file descriptor use
diff --git a/include/fuse.h b/include/fuse.h
index 37aec28..6af2c4f 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -300,6 +300,7 @@ struct fuse_operations {
* destroy() method.
*
* Introduced in version 2.3
+ * Changed in version 2.6
*/
void *(*init) (struct fuse_conn_info *conn);
diff --git a/include/fuse_common.h b/include/fuse_common.h
index b687043..8dc7bc2 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -74,12 +74,42 @@ struct fuse_file_info {
uint64_t lock_owner;
};
+/**
+ * Connection information, passed to the ->init() method
+ *
+ * Some of the elements are read-write, these can be changed to
+ * indicate the value requested by the filesystem. The requested
+ * value must usually be smaller than the indicated value.
+ */
struct fuse_conn_info {
+ /**
+ * Major version of the protocol (read-only)
+ */
unsigned proto_major;
+
+ /**
+ * Minor version of the protocol (read-only)
+ */
unsigned proto_minor;
+
+ /**
+ * Is asynchronous read supported (read-write)
+ */
unsigned async_read;
+
+ /**
+ * Maximum size of the write buffer
+ */
unsigned max_write;
+
+ /**
+ * Maximum readahead
+ */
unsigned max_readahead;
+
+ /**
+ * For future use.
+ */
unsigned reserved[27];
};