From d0e0e8a7e225655767813cd5abc1b882e85d9cbf Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 8 Jul 2009 18:17:58 +0200 Subject: [PATCH] --- yaml --- r: 163283 b: refs/heads/master c: 37d217f029a56a6d385f99773fb27dfcb51f9a46 h: refs/heads/master i: 163281: b98dd4f8335e1ad3cedf79e4e1809b536b777b75 163279: f48c1c34b3af6fbb962e2d75745bb23158a0343f v: v3 --- [refs] | 2 +- trunk/include/linux/fuse.h | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e982d538e4cc..d4808f494c4d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7a6d3c8b3049d07123628f2bf57127bba2cc878f +refs/heads/master: 37d217f029a56a6d385f99773fb27dfcb51f9a46 diff --git a/trunk/include/linux/fuse.h b/trunk/include/linux/fuse.h index b3700f0ac268..3e2925a34bf0 100644 --- a/trunk/include/linux/fuse.h +++ b/trunk/include/linux/fuse.h @@ -41,6 +41,26 @@ #include +/* + * Version negotiation: + * + * Both the kernel and userspace send the version they support in the + * INIT request and reply respectively. + * + * If the major versions match then both shall use the smallest + * of the two minor versions for communication. + * + * If the kernel supports a larger major version, then userspace shall + * reply with the major version it supports, ignore the rest of the + * INIT message and expect a new INIT message from the kernel with a + * matching major version. + * + * If the library supports a larger major version, then it shall fall + * back to the major protocol version sent by the kernel for + * communication and reply with that major version (and an arbitrary + * supported minor version). + */ + /** Version number of this interface */ #define FUSE_KERNEL_VERSION 7