diff options
| author | James Hogan <james.hogan@imgtec.com> | 2013-03-27 06:47:13 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-04 15:48:44 -0400 |
| commit | 2b3b9bb03a9fb1e4c72947cc235771c6455ec7c9 (patch) | |
| tree | fd9ea03631b1df21d723b7bf71afe7756c13e3a2 /fs/hostfs | |
| parent | 9dcc5e8a4635d6a0b20273e3db21507ff02764ea (diff) | |
hostfs: move HOSTFS_SUPER_MAGIC to <linux/magic.h>
Move HOSTFS_SUPER_MAGIC to <linux/magic.h> to be with it's magical
friends from other file systems.
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hostfs')
| -rw-r--r-- | fs/hostfs/hostfs_kern.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 95b9c87cb24a..f2372ef80850 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/fs.h> | 9 | #include <linux/fs.h> |
| 10 | #include <linux/magic.h> | ||
| 10 | #include <linux/module.h> | 11 | #include <linux/module.h> |
| 11 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
| 12 | #include <linux/pagemap.h> | 13 | #include <linux/pagemap.h> |
| @@ -45,8 +46,6 @@ static const struct dentry_operations hostfs_dentry_ops = { | |||
| 45 | static char *root_ino = ""; | 46 | static char *root_ino = ""; |
| 46 | static int append = 0; | 47 | static int append = 0; |
| 47 | 48 | ||
| 48 | #define HOSTFS_SUPER_MAGIC 0x00c0ffee | ||
| 49 | |||
| 50 | static const struct inode_operations hostfs_iops; | 49 | static const struct inode_operations hostfs_iops; |
| 51 | static const struct inode_operations hostfs_dir_iops; | 50 | static const struct inode_operations hostfs_dir_iops; |
| 52 | static const struct inode_operations hostfs_link_iops; | 51 | static const struct inode_operations hostfs_link_iops; |
