diff options
author | M. Mohan Kumar <mohan@in.ibm.com> | 2010-09-27 14:17:24 +0530 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-10-28 09:08:47 -0500 |
commit | 368c09d2a303c39e9f37193b23e945e6754cf0a7 (patch) | |
tree | 3642173cbdfba8bcb32e85959eb69c1a6c8ebc11 /include/linux/magic.h | |
parent | 1d769cd192fc8c4097b1e2cd41fdee6ba3d1b2af (diff) | |
download | lwn-368c09d2a303c39e9f37193b23e945e6754cf0a7.tar.gz lwn-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/linux/magic.h')
-rw-r--r-- | include/linux/magic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/magic.h b/include/linux/magic.h index eb9800f05782..ff690d05f129 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__ */ |