diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-29 16:22:54 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-29 16:22:54 +0200 |
commit | a2b9df3ff691db8e5e521dccd231a8098bbf7416 (patch) | |
tree | 50a12bd4d40a27d7a605aa55e3d770b4af3c8576 /Documentation | |
parent | b466f17d780c5b72427f36aef22ecdec9f1d0689 (diff) | |
download | blackbird-op-linux-a2b9df3ff691db8e5e521dccd231a8098bbf7416.tar.gz blackbird-op-linux-a2b9df3ff691db8e5e521dccd231a8098bbf7416.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions