git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UBIFS: return sensible error codes
[pandora-kernel.git]
/
fs
/
ubifs
/
master.c
diff --git
a/fs/ubifs/master.c
b/fs/ubifs/master.c
index
71d5493
..
a88f338
100644
(file)
--- a/
fs/ubifs/master.c
+++ b/
fs/ubifs/master.c
@@
-354,7
+354,7
@@
int ubifs_write_master(struct ubifs_info *c)
int err, lnum, offs, len;
if (c->ro_media)
- return -E
INVAL
;
+ return -E
ROFS
;
lnum = UBIFS_MST_LNUM;
offs = c->mst_offs + c->mst_node_alsz;