projects
/
project
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df71bb9
)
libfstools: make mtd_volume_identify() less chatty
author
Jo-Philipp Wich
<
[email protected]
>
Wed, 25 Feb 2015 21:56:51 +0000
(22:56 +0100)
committer
Jo-Philipp Wich
<
[email protected]
>
Wed, 25 Feb 2015 21:56:51 +0000
(22:56 +0100)
Signed-off-by: Jo-Philipp Wich <
[email protected]
>
libfstools/mtd.c
patch
|
blob
|
history
diff --git
a/libfstools/mtd.c
b/libfstools/mtd.c
index d8637aa108a906d6209903f756d6776e61f6d18c..156d166b5a2cc92f124852180782e5c2826be881 100644
(file)
--- a/
libfstools/mtd.c
+++ b/
libfstools/mtd.c
@@
-204,23
+204,18
@@
static int mtd_volume_identify(struct volume *v)
deadc0de = __be32_to_cpu(deadc0de);
if (deadc0de == 0xdeadc0de) {
- ULOG_INFO("jffs2 is not ready - marker found\n");
return FS_DEADCODE;
}
jffs2 = __be16_to_cpu(deadc0de >> 16);
if (jffs2 == 0x1985) {
- ULOG_INFO("jffs2 is ready\n");
return FS_JFFS2;
}
if (v->type == UBIVOLUME && deadc0de == 0xffffffff) {
- ULOG_INFO("jffs2 is ready\n");
return FS_JFFS2;
}
- ULOG_INFO("No jffs2 marker was found\n");
-
return FS_NONE;
}