diff options
author | Qinghuang Feng <qhfeng.kernel@gmail.com> | 2009-01-14 15:45:13 +0800 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-02-05 10:00:57 +1100 |
commit | ab6218ccc3ad4e67a67b147cd239e6656ecb7c78 (patch) | |
tree | 5126eca120f11f6e45d4ba99962d6e35b0f643f8 /fs | |
parent | 71113c55f95539deb856f7cf3450b99ec206eb57 (diff) |
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')
-rw-r--r-- | fs/sysfs/mount.c | 3 |
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; |