summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/mount.c
diff options
context:
space:
mode:
authorQinghuang Feng <qhfeng.kernel@gmail.com>2009-01-14 08:45:13 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-25 00:38:24 +0100
commit8231f2f99a5e5fc45a25e8de09fd1ab9711babf1 (patch)
tree18fd1173f6197e373905d94c904c16763086ed06 /fs/sysfs/mount.c
parentdriver core: get rid of struct device's bus_id string array (diff)
downloadlinux-8231f2f99a5e5fc45a25e8de09fd1ab9711babf1.tar.xz
linux-8231f2f99a5e5fc45a25e8de09fd1ab9711babf1.zip
SYSFS: use standard magic.h for sysfs
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>
Diffstat (limited to 'fs/sysfs/mount.c')
-rw-r--r--fs/sysfs/mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index ab343e371d64..8133ca36ee0e 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -17,11 +17,10 @@
#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;