summaryrefslogtreecommitdiffstats
path: root/include/linux/auto_fs.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-18 22:06:10 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-18 22:06:10 +0000
commitaba4e552a2f2c1492441acbccedd8e0a4c53f916 (patch)
tree23921efb2b4af590160f034a89ff3da2ecca6e47 /include/linux/auto_fs.h
parent9e17e1aa1cf1cb497d2f67147a51831888affcf3 (diff)
Merge with Linux 2.3.43.
Diffstat (limited to 'include/linux/auto_fs.h')
-rw-r--r--include/linux/auto_fs.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/auto_fs.h b/include/linux/auto_fs.h
index a8b313539..99f9784d3 100644
--- a/include/linux/auto_fs.h
+++ b/include/linux/auto_fs.h
@@ -20,8 +20,14 @@
#include <linux/ioctl.h>
#include <asm/types.h>
+/* This header file describes a range of autofs interface versions;
+ the new implementation ("autofs4") supports them all, but the old
+ implementation only supports v3. */
#define AUTOFS_MIN_PROTO_VERSION 3 /* Min version we support */
-#define AUTOFS_PROTO_VERSION 4 /* Current version */
+#define AUTOFS_MAX_PROTO_VERSION 4 /* Max (current) version */
+
+/* Backwards compat for autofs v3; it just implements a version */
+#define AUTOFS_PROTO_VERSION 3 /* v3 version */
/*
* Architectures where both 32- and 64-bit binaries can be executed