Commit e47264da authored by Oleg Drokin's avatar Oleg Drokin

procfs.c, prints.c:

  reiserfs: tidy up super block printing, switch reiserfs proc code to use bdevname instead of __bdevname.
parent 2b85d1d5
......@@ -490,6 +490,7 @@ char * reiserfs_hashname(int code)
return "unknown";
}
/* return 1 if this is not super block */
static int print_super_block (struct buffer_head * bh)
{
......@@ -509,8 +510,8 @@ static int print_super_block (struct buffer_head * bh)
return 1;
}
printk ("%s\'s super block in block %ld\n======================\n",
bdevname (bh->b_bdev), bh->b_blocknr);
printk ("%s\'s super block is in block %ld\n", bdevname (bh->b_bdev),
bh->b_blocknr);
printk ("Reiserfs version %s\n", version );
printk ("Block count %u\n", sb_block_count(rs));
printk ("Blocksize %d\n", sb_blocksize(rs));
......
......@@ -500,7 +500,7 @@ int reiserfs_journal_in_proc( char *buffer, char **start, off_t offset,
"prepare_retry: \t%12lu\n",
DJP( jp_journal_1st_block ),
DJP( jp_journal_dev ) == 0 ? "none" : __bdevname(to_kdev_t(DJP( jp_journal_dev ))),
bdevname(SB_JOURNAL(sb)->j_dev_bd),
DJP( jp_journal_dev ),
DJP( jp_journal_size ),
DJP( jp_journal_trans_max ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment