The patch titled ramfs: move RAMFS_MAGIC to include/linux/magic.h has been added to the -mm tree. Its filename is ramfs-move-ramfs_magic-to-include-linux-magich.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: ramfs: move RAMFS_MAGIC to include/linux/magic.h From: maximilian attems <max@xxxxxxx> initramfs userspace likes to use this magic number. Cc: Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx> Signed-off-by: maximilian attems <max@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ramfs/inode.c | 4 +--- include/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff -puN fs/ramfs/inode.c~ramfs-move-ramfs_magic-to-include-linux-magich fs/ramfs/inode.c --- a/fs/ramfs/inode.c~ramfs-move-ramfs_magic-to-include-linux-magich +++ a/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; diff -puN include/linux/magic.h~ramfs-move-ramfs_magic-to-include-linux-magich include/linux/magic.h --- a/include/linux/magic.h~ramfs-move-ramfs_magic-to-include-linux-magich +++ a/include/linux/magic.h @@ -12,6 +12,7 @@ #define SYSFS_MAGIC 0x62656572 #define SECURITYFS_MAGIC 0x73636673 #define SELINUX_MAGIC 0xf97cff8c +#define RAMFS_MAGIC 0x858458f6 /* some random number */ #define TMPFS_MAGIC 0x01021994 #define HUGETLBFS_MAGIC 0x958458f6 /* some random number */ #define SQUASHFS_MAGIC 0x73717368 _ Patches currently in -mm which might be from max@xxxxxxx are ramfs-move-ramfs_magic-to-include-linux-magich.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html