ramfs: move RAMFS_MAGIC to include/linux/magic.h

initramfs userspace likes to use this magic number.

Cc: Hugh Dickins <[email protected]>
Signed-off-by: maximilian attems <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
maximilian attems 2009-09-22 16:45:53 -07:00 • committed by Linus Torvalds
commit a7e3108cca
2 changed files with 2 additions and 3 deletions

View file

@ -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;