Commit d4beaabd authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/ufs: convert UFSD printk to pr_debug

Convert no level printk to pr_debug in UFSD.  DEBUG is defined with
CONFIG_UFS_DEBUG so pr_debug are emitted here.

Also fixing call to UFSD (add;)
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7e1e4167
...@@ -868,7 +868,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -868,7 +868,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent)
break; break;
case UFS_MOUNT_UFSTYPE_SUNOS: case UFS_MOUNT_UFSTYPE_SUNOS:
UFSD(("ufstype=sunos\n")) UFSD("ufstype=sunos\n");
uspi->s_fsize = block_size = 1024; uspi->s_fsize = block_size = 1024;
uspi->s_fmask = ~(1024 - 1); uspi->s_fmask = ~(1024 - 1);
uspi->s_fshift = 10; uspi->s_fshift = 10;
......
...@@ -77,9 +77,9 @@ struct ufs_inode_info { ...@@ -77,9 +77,9 @@ struct ufs_inode_info {
*/ */
#ifdef CONFIG_UFS_DEBUG #ifdef CONFIG_UFS_DEBUG
# define UFSD(f, a...) { \ # define UFSD(f, a...) { \
printk ("UFSD (%s, %d): %s:", \ pr_debug("UFSD (%s, %d): %s:", \
__FILE__, __LINE__, __func__); \ __FILE__, __LINE__, __func__); \
printk (f, ## a); \ pr_debug(f, ## a); \
} }
#else #else
# define UFSD(f, a...) /**/ # define UFSD(f, a...) /**/
......
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