commit | 549c999a768a7a144c60a0faa58f34c48f39112b | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Thu May 26 16:57:14 2011 +0300 |
committer | Artem Bityutskiy <dedekind1@gmail.com> | Mon Jul 04 10:54:26 2011 +0300 |
tree | c1bdefb19fafb74164331c21ebaee7b2a987441c | |
parent | b0af8dfdd67699e25083478c63eedef2e72ebd85 [diff] |
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>