]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
SYSFS: use standard magic.h for sysfs
authorQinghuang Feng <qhfeng.kernel@gmail.com>
Wed, 14 Jan 2009 07:45:13 +0000 (15:45 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:38:24 +0000 (16:38 -0700)
SYSFS_MAGIC has been added into magic.h, so only use that definition
in magic.h to avoid potential consistency problem.

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/mount.c

index ab343e371d64682f678646ed02615171e73b2d31..8133ca36ee0eaf320593afbf7e33d7c8c9e06a82 100644 (file)
 #include <linux/pagemap.h>
 #include <linux/init.h>
 #include <linux/module.h>
+#include <linux/magic.h>
 
 #include "sysfs.h"
 
-/* Random magic number */
-#define SYSFS_MAGIC 0x62656572
 
 static struct vfsmount *sysfs_mount;
 struct super_block * sysfs_sb = NULL;