mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ocfs2: Fix metaecc error messages
Like tools, the checksum validate function now prints the values in hex. Signed-off-by: Sunil Mushran <[email protected]> Singed-off-by: Tao Ma <[email protected]>
This commit is contained in:
parent
2bfc96a127
commit
dc696aced9
1 changed files with 2 additions and 2 deletions
|
|
@ -439,7 +439,7 @@ int ocfs2_block_check_validate(void *data, size_t blocksize,
|
|||
|
||||
ocfs2_blockcheck_inc_failure(stats);
|
||||
mlog(ML_ERROR,
|
||||
"CRC32 failed: stored: %u, computed %u. Applying ECC.\n",
|
||||
"CRC32 failed: stored: 0x%x, computed 0x%x. Applying ECC.\n",
|
||||
(unsigned int)check.bc_crc32e, (unsigned int)crc);
|
||||
|
||||
/* Ok, try ECC fixups */
|
||||
|
|
@ -453,7 +453,7 @@ int ocfs2_block_check_validate(void *data, size_t blocksize,
|
|||
goto out;
|
||||
}
|
||||
|
||||
mlog(ML_ERROR, "Fixed CRC32 failed: stored: %u, computed %u\n",
|
||||
mlog(ML_ERROR, "Fixed CRC32 failed: stored: 0x%x, computed 0x%x\n",
|
||||
(unsigned int)check.bc_crc32e, (unsigned int)crc);
|
||||
|
||||
rc = -EIO;
|
||||
|
|
|
|||
Loading…
Reference in a new issue