diff options
author | maximilian attems <max@stro.at> | 2009-09-23 01:45:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 16:39:42 +0200 |
commit | a7e3108cca54c105f496919040f00df56767ec00 (patch) | |
tree | 42aaadd3648bada66632f50e9658d37bf7bb16c8 /fs/ramfs/inode.c | |
parent | /proc/kcore: update stat.st_size after memory hotplug (diff) | |
download | linux-a7e3108cca54c105f496919040f00df56767ec00.tar.xz linux-a7e3108cca54c105f496919040f00df56767ec00.zip |
ramfs: move RAMFS_MAGIC to include/linux/magic.h
initramfs userspace likes to use this magic number.
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ramfs/inode.c')
-rw-r--r-- | fs/ramfs/inode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index a7f0110fca4c..a6090aa1a7c1 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c @@ -34,12 +34,10 @@ #include <linux/ramfs.h> #include <linux/sched.h> #include <linux/parser.h> +#include <linux/magic.h> #include <asm/uaccess.h> #include "internal.h" -/* some random number */ -#define RAMFS_MAGIC 0x858458f6 - #define RAMFS_DEFAULT_MODE 0755 static const struct super_operations ramfs_ops; |