summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorM. Mohan Kumar <mohan@in.ibm.com>2010-09-27 14:17:24 +0530
committerEric Van Hensbergen <ericvh@gmail.com>2010-10-28 09:08:47 -0500
commit368c09d2a303c39e9f37193b23e945e6754cf0a7 (patch)
tree3642173cbdfba8bcb32e85959eb69c1a6c8ebc11 /include
parent1d769cd192fc8c4097b1e2cd41fdee6ba3d1b2af (diff)
downloadlinux-3.10-368c09d2a303c39e9f37193b23e945e6754cf0a7.tar.gz
linux-3.10-368c09d2a303c39e9f37193b23e945e6754cf0a7.tar.bz2
linux-3.10-368c09d2a303c39e9f37193b23e945e6754cf0a7.zip
9p: Use V9FS_MAGIC in statfs
Use V9FS_MAGIC as the file system type while filling kernel statfs strucutre instead of using host file system magic number. Also move the definition of V9FS_MAGIC from v9fs.h to standard magic.h file. Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/magic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/magic.h b/include/linux/magic.h
index eb9800f0578..ff690d05f12 100644
--- a/include/linux/magic.h
+++ b/include/linux/magic.h
@@ -57,5 +57,6 @@
#define DEVPTS_SUPER_MAGIC 0x1cd1
#define SOCKFS_MAGIC 0x534F434B
+#define V9FS_MAGIC 0x01021997
#endif /* __LINUX_MAGIC_H__ */