summaryrefslogtreecommitdiffstats
path: root/fs/cramfs
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-01-26 11:38:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-03 07:57:36 +0100
commitc8b37d49830a38243d570b90d03da6be8c0b664c (patch)
tree1d774ae0ce776b965898d857c33456943860982d /fs/cramfs
parent0123e9f63304304b4b1cf86871cc33832d9569f6 (diff)
downloadbarebox-c8b37d49830a38243d570b90d03da6be8c0b664c.tar.gz
barebox-c8b37d49830a38243d570b90d03da6be8c0b664c.tar.xz
fs: import magic.h from Linux kernel
include/linux/magic.h provides MAGIC numbers for various file systems. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/cramfs')
-rw-r--r--fs/cramfs/cramfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cramfs/cramfs.c b/fs/cramfs/cramfs.c
index 97f028a3ec..988fa7e8e6 100644
--- a/fs/cramfs/cramfs.c
+++ b/fs/cramfs/cramfs.c
@@ -34,6 +34,7 @@
#include <asm/byteorder.h>
#include <linux/stat.h>
+#include <linux/magic.h>
#include <cramfs/cramfs_fs.h>
/* These two macros may change in future, to provide better st_ino