/* journal_dev_name: format a character string to describe on what device this journal is present.  */
static const char* journal_dev_name(journal_t *journal, char *buffer)
/* journal_dev_name: format a character string to describe on what device this journal is present.  */
static const char* journal_dev_name(journal_t *journal, char *buffer)
{
	struct block_device *bdev;
	if (journal->j_inode)
		bdev = journal->j_inode->i_sb->s_bdev;
	else
		bdev = journal->j_dev;
	return bdevname(bdev, buffer);
}