udf: Promote some debugging messages to udf_error
authorJoe Perches <joe@perches.com>
Mon, 10 Oct 2011 08:08:02 +0000 (01:08 -0700)
committerJan Kara <jack@suse.cz>
Mon, 10 Oct 2011 17:26:24 +0000 (19:26 +0200)
commit7e273e3b41e32716dc122b293b5f15635af495ff
tree5c6735944042e68af4e8681fb424c729701e4957
parent40bfa16dac2adcded9e2eda58246cc3700d97de4
udf: Promote some debugging messages to udf_error

If there is a problem with a scratched disc or loader, it's valuable to know
which error occurred.

Convert some debug messages to udf_error, neaten those messages too.
Add the calculated tag checksum and the read checksum to error message.
Make udf_error a public function and move the logging prototypes together.

Original-patch-by: NamJae Jeon <linkinjeon@gmail.com>
Reviewed-by: NamJae Jeon <linkinjeon@gmail.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/misc.c
fs/udf/super.c
fs/udf/udfdecl.h