summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2008-10-15 22:02:52 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 11:21:39 -0700
commitbb979d7fc360bc37cbaff43a6fafceb897cb5e47 (patch)
treeb99f90b4cacebf1e8cd5725917fd14cf8d1c50ac /include
parent624ae5284516870657505103ada531c64dba2a9a (diff)
downloadlinux-3.10-bb979d7fc360bc37cbaff43a6fafceb897cb5e47.tar.gz
linux-3.10-bb979d7fc360bc37cbaff43a6fafceb897cb5e47.tar.bz2
linux-3.10-bb979d7fc360bc37cbaff43a6fafceb897cb5e47.zip
autofs4: cleanup autofs mount type usage
Usage of the AUTOFS_TYPE_* defines is a little confusing and appears inconsistent. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/auto_fs4.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/auto_fs4.h b/include/linux/auto_fs4.h
index b785c6f8644..aa96a04ae02 100644
--- a/include/linux/auto_fs4.h
+++ b/include/linux/auto_fs4.h
@@ -29,6 +29,11 @@
#define AUTOFS_EXP_IMMEDIATE 1
#define AUTOFS_EXP_LEAVES 2
+#define AUTOFS_TYPE_ANY 0x0000
+#define AUTOFS_TYPE_INDIRECT 0x0001
+#define AUTOFS_TYPE_DIRECT 0x0002
+#define AUTOFS_TYPE_OFFSET 0x0004
+
/* Daemon notification packet types */
enum autofs_notify {
NFY_NONE,