1
0
Files
linux/fs
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
..
2008-12-25 11:40:09 +11:00
2009-01-08 15:12:39 -06:00
2008-11-14 10:39:25 +11:00
2009-01-09 21:05:21 +00:00
2009-01-07 17:38:31 -05:00
2009-01-05 11:54:27 -05:00
2009-01-08 08:31:15 -08:00
2009-01-05 11:54:28 -05:00
2009-01-29 16:22:54 +02:00
2008-12-04 17:16:36 +11:00
2008-12-31 18:07:43 -05:00
2009-01-03 11:45:54 -08:00
2009-01-06 15:59:09 -08:00