Artem Bityutskiy 549c999a76 UBIFS: return EROFS in case of broken commit
If commit failed and it is in broken state, UBIFS switches to R/O mode. Most
operations return -EROFS in this case, except of commit which returns -EINVAL.
Make it return -EROFS too for consistency. This is also important for our power
cut emulation testing.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-07-04 10:54:26 +03:00
..
2008-12-31 14:13:24 +02:00
2011-05-23 08:22:20 +03:00
2011-05-23 08:22:20 +03:00
2011-05-13 19:23:55 +03:00
2011-06-03 18:12:31 +03:00
2011-04-05 10:45:45 +03:00
2011-05-16 14:12:12 +03:00
2011-05-13 19:23:54 +03:00
2008-07-15 17:35:24 +03:00
2011-05-16 14:12:12 +03:00
2011-05-16 14:12:15 +03:00
2011-02-06 15:08:02 +02:00
2008-09-30 11:12:57 +03:00