projects
/
h-e-n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Maemo patchset 20101501+0m5
[h-e-n]
/
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 -EINVAL;
+ return -EROFS;
lnum = UBIFS_MST_LNUM;
offs = c->mst_offs + c->mst_node_alsz;