diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-24 11:13:19 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-24 11:13:19 -0400 |
commit | e18fa700c9a31360bc8f193aa543b7ef7b39a06b (patch) | |
tree | 1006f53177341c614d4aeb6c96e2e8f3859b5f52 /fs | |
parent | 4f5537de7c1531398e84e18a24f667e49cc94208 (diff) |
Move several *_SUPER_MAGIC symbols to include/linux/magic.h.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/affs/affs.h | 1 | ||||
-rw-r--r-- | fs/affs/super.c | 1 | ||||
-rw-r--r-- | fs/autofs/autofs_i.h | 2 | ||||
-rw-r--r-- | fs/autofs/inode.c | 1 | ||||
-rw-r--r-- | fs/autofs4/autofs_i.h | 2 | ||||
-rw-r--r-- | fs/autofs4/inode.c | 1 | ||||
-rw-r--r-- | fs/hpfs/hpfs_fn.h | 1 | ||||
-rw-r--r-- | fs/hpfs/super.c | 1 | ||||
-rw-r--r-- | fs/openpromfs/inode.c | 2 |
9 files changed, 5 insertions, 7 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h index 0ddd4cc0d1a0..1dc8438ef389 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h | |||
@@ -1,7 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/fs.h> | 2 | #include <linux/fs.h> |
3 | #include <linux/buffer_head.h> | 3 | #include <linux/buffer_head.h> |
4 | #include <linux/affs_fs.h> | ||
5 | #include <linux/amigaffs.h> | 4 | #include <linux/amigaffs.h> |
6 | 5 | ||
7 | /* AmigaOS allows file names with up to 30 characters length. | 6 | /* AmigaOS allows file names with up to 30 characters length. |
diff --git a/fs/affs/super.c b/fs/affs/super.c index 5200f4938df0..17352011ab67 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/statfs.h> | 15 | #include <linux/statfs.h> |
16 | #include <linux/parser.h> | 16 | #include <linux/parser.h> |
17 | #include <linux/magic.h> | ||
17 | #include "affs.h" | 18 | #include "affs.h" |
18 | 19 | ||
19 | extern struct timezone sys_tz; | 20 | extern struct timezone sys_tz; |
diff --git a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h index a62327f1bdff..c7700d9b3f96 100644 --- a/fs/autofs/autofs_i.h +++ b/fs/autofs/autofs_i.h | |||
@@ -37,8 +37,6 @@ | |||
37 | #define DPRINTK(D) ((void)0) | 37 | #define DPRINTK(D) ((void)0) |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #define AUTOFS_SUPER_MAGIC 0x0187 | ||
41 | |||
42 | /* | 40 | /* |
43 | * If the daemon returns a negative response (AUTOFS_IOC_FAIL) then the | 41 | * If the daemon returns a negative response (AUTOFS_IOC_FAIL) then the |
44 | * kernel will keep the negative response cached for up to the time given | 42 | * kernel will keep the negative response cached for up to the time given |
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c index 65e5ed42190e..af2efbbb5d76 100644 --- a/fs/autofs/inode.c +++ b/fs/autofs/inode.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/file.h> | 16 | #include <linux/file.h> |
17 | #include <linux/parser.h> | 17 | #include <linux/parser.h> |
18 | #include <linux/bitops.h> | 18 | #include <linux/bitops.h> |
19 | #include <linux/magic.h> | ||
19 | #include "autofs_i.h" | 20 | #include "autofs_i.h" |
20 | #include <linux/module.h> | 21 | #include <linux/module.h> |
21 | 22 | ||
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index d6603d02304c..480ab178cba5 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h | |||
@@ -40,8 +40,6 @@ | |||
40 | #define DPRINTK(fmt,args...) do {} while(0) | 40 | #define DPRINTK(fmt,args...) do {} while(0) |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #define AUTOFS_SUPER_MAGIC 0x0187 | ||
44 | |||
45 | /* Unified info structure. This is pointed to by both the dentry and | 43 | /* Unified info structure. This is pointed to by both the dentry and |
46 | inode structures. Each file in the filesystem has an instance of this | 44 | inode structures. Each file in the filesystem has an instance of this |
47 | structure. It holds a reference to the dentry, so dentries are never | 45 | structure. It holds a reference to the dentry, so dentries are never |
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index fde78b110ddd..11a6a9ae51b7 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/parser.h> | 19 | #include <linux/parser.h> |
20 | #include <linux/bitops.h> | 20 | #include <linux/bitops.h> |
21 | #include <linux/smp_lock.h> | 21 | #include <linux/smp_lock.h> |
22 | #include <linux/magic.h> | ||
22 | #include "autofs_i.h" | 23 | #include "autofs_i.h" |
23 | #include <linux/module.h> | 24 | #include <linux/module.h> |
24 | 25 | ||
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h index f687d54ed442..32ab51e42b96 100644 --- a/fs/hpfs/hpfs_fn.h +++ b/fs/hpfs/hpfs_fn.h | |||
@@ -12,7 +12,6 @@ | |||
12 | #include <linux/mutex.h> | 12 | #include <linux/mutex.h> |
13 | #include <linux/pagemap.h> | 13 | #include <linux/pagemap.h> |
14 | #include <linux/buffer_head.h> | 14 | #include <linux/buffer_head.h> |
15 | #include <linux/hpfs_fs.h> | ||
16 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
17 | #include <linux/smp_lock.h> | 16 | #include <linux/smp_lock.h> |
18 | 17 | ||
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index f798480a363f..8fe51c343786 100644 --- a/fs/hpfs/super.c +++ b/fs/hpfs/super.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/parser.h> | 11 | #include <linux/parser.h> |
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/statfs.h> | 13 | #include <linux/statfs.h> |
14 | #include <linux/magic.h> | ||
14 | 15 | ||
15 | /* Mark the filesystem dirty, so that chkdsk checks it when os/2 booted */ | 16 | /* Mark the filesystem dirty, so that chkdsk checks it when os/2 booted */ |
16 | 17 | ||
diff --git a/fs/openpromfs/inode.c b/fs/openpromfs/inode.c index 93a56bd4a2b7..592a6402e851 100644 --- a/fs/openpromfs/inode.c +++ b/fs/openpromfs/inode.c | |||
@@ -8,10 +8,10 @@ | |||
8 | #include <linux/types.h> | 8 | #include <linux/types.h> |
9 | #include <linux/string.h> | 9 | #include <linux/string.h> |
10 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
11 | #include <linux/openprom_fs.h> | ||
12 | #include <linux/init.h> | 11 | #include <linux/init.h> |
13 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
14 | #include <linux/seq_file.h> | 13 | #include <linux/seq_file.h> |
14 | #include <linux/magic.h> | ||
15 | 15 | ||
16 | #include <asm/openprom.h> | 16 | #include <asm/openprom.h> |
17 | #include <asm/oplib.h> | 17 | #include <asm/oplib.h> |