nilfs2: append blocksize info to warnings during loading super blocks
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 23 Jan 2011 15:28:22 +0000 (00:28 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Tue, 8 Mar 2011 05:58:30 +0000 (14:58 +0900)
commit4138ec23820012009aecc2b02856c62872dd3c34
treef222844308880d629b14339c384729f6e089fcf0
parent828b1c50ae11e6dda68f8dfefe43b74c7182b157
nilfs2: append blocksize info to warnings during loading super blocks

At present, the same warning message can be output twice when nilfs
detected a problem on super blocks:

 NILFS warning: broken superblock. using spare superblock.
 NILFS warning: broken superblock. using spare superblock.
 ...

This is because these super blocks are reloaded with the block size
written in a super block if it differs from the first block size, but
this repetition looks somewhat confusing.  So, we hint at what is
going on by appending block size information to those messages.

Reported-by: Wakko Warner <wakko@animx.eu.org>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/the_nilfs.c