UBIFS: improve error messages
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 7 Mar 2012 14:29:45 +0000 (16:29 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 21 Jun 2012 11:46:14 +0000 (14:46 +0300)
commitb9ee9ff1d1eb77f0357fef4d3f3a30daa1a5a7ad
treea53fbdad5933da46abb382d5a83b0c8d4be124da
parent3b6451116ada2578d99ad0ecee37613a0b46cf23
UBIFS: improve error messages

Ricard complaints that the following error message is odd:

"UBIFS error (pid 1578): validate_sb: bad superblock, error 8"

and he is right. This patch improves the error messages a bit and makes
them more user-friendly.

Reported-by: Ricard Wanderlof <ricard.wanderlof@axis.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/sb.c