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: introduce new flags for RO mounts
[pandora-kernel.git]
/
fs
/
ubifs
/
gc.c
diff --git
a/fs/ubifs/gc.c
b/fs/ubifs/gc.c
index
d927196
..
151f108
100644
(file)
--- a/
fs/ubifs/gc.c
+++ b/
fs/ubifs/gc.c
@@
-616,7
+616,7
@@
int ubifs_garbage_collect(struct ubifs_info *c, int anyway)
struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf;
ubifs_assert_cmt_locked(c);
- ubifs_assert(!c->ro_media);
+ ubifs_assert(!c->ro_media
&& !c->ro_mount
);
if (ubifs_gc_should_commit(c))
return -EAGAIN;