projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3884a
)
UBIFS: return proper error code if the compr is not present
author
Corentin Chary
<corentincj@iksaif.net>
Mon, 25 May 2009 06:49:10 +0000
(08:49 +0200)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Mon, 25 May 2009 09:28:27 +0000
(12:28 +0300)
If the compressor is not present, mount_ubifs need
to return an error code. This way ubifs_fill_super
will stop and handle the error.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/super.c
patch
|
blob
|
history
diff --git
a/fs/ubifs/super.c
b/fs/ubifs/super.c
index
f2c1c0b
..
052514c
100644
(file)
--- a/
fs/ubifs/super.c
+++ b/
fs/ubifs/super.c
@@
-1187,6
+1187,7
@@
static int mount_ubifs(struct ubifs_info *c)
if (!ubifs_compr_present(c->default_compr)) {
ubifs_err("'compressor \"%s\" is not compiled in",
ubifs_compr_name(c->default_compr));
+ err = -ENOTSUPP;
goto out_free;
}