Artem Bityutskiy a2b9df3ff6 UBIFS: return sensible error codes
When mounting/re-mounting, UBIFS returns EINVAL even if the ENOSPC
or EROFS codes are are much better, just because we have not found
references to ENOSPC/EROFS in mount (2) man pages. This patch
changes this behaviour and makes UBIFS return real error code,
because:

1. It is just less confusing and more logical
2. mount is not described in SuSv3, so it seems to be not really
   well-standartized
3. we do not cover all cases, and any random undocumented in man
   pages error code may be returned anyway

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-01-29 16:22:54 +02:00
..
2009-01-26 12:54:11 +02:00
2008-12-03 13:14:33 +02:00
2008-12-31 14:13:24 +02:00
2009-01-29 16:15:51 +02:00
2009-01-26 12:54:11 +02:00
2009-01-26 12:54:11 +02:00
2009-01-26 12:54:11 +02:00
2008-09-30 11:12:55 +03:00
2009-01-29 16:19:36 +02:00
2009-01-27 16:25:10 +02:00
2008-12-31 14:13:25 +02:00
2008-12-03 13:14:11 +02:00
2008-08-13 11:27:47 +03:00
2009-01-26 12:54:11 +02:00
2008-12-23 12:23:40 +02:00
2008-07-15 17:35:24 +03:00
2009-01-29 16:22:54 +02:00
2008-09-30 11:12:56 +03:00
2008-11-06 11:06:31 +02:00
2008-12-31 14:13:24 +02:00
2008-12-23 12:23:40 +02:00
2008-09-30 11:12:56 +03:00
2009-01-29 16:22:54 +02:00
2008-09-30 11:12:57 +03:00
2009-01-27 16:25:10 +02:00
2009-01-29 16:19:36 +02:00
2008-09-30 11:12:55 +03:00