diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-08-08 21:21:05 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 22:57:21 (GMT) |
commit | d4beaabd307b4b7853ac97013ab0d6ee69429b04 (patch) | |
tree | 543040ba7e54c48981606bc618482c722a3769d9 | |
parent | 7e1e4167d489b929a5f786076731de92e3e513e0 (diff) | |
download | linux-d4beaabd307b4b7853ac97013ab0d6ee69429b04.tar.xz |
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: Fabian Frederick <fabf@skynet.be>
Cc: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/ufs/super.c | 2 | ||||
-rw-r--r-- | fs/ufs/ufs.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index 206f7d6..da73801 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c @@ -868,7 +868,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) break; case UFS_MOUNT_UFSTYPE_SUNOS: - UFSD(("ufstype=sunos\n")) + UFSD("ufstype=sunos\n"); uspi->s_fsize = block_size = 1024; uspi->s_fmask = ~(1024 - 1); uspi->s_fshift = 10; diff --git a/fs/ufs/ufs.h b/fs/ufs/ufs.h index cbe1e9b..2a07396 100644 --- a/fs/ufs/ufs.h +++ b/fs/ufs/ufs.h @@ -77,9 +77,9 @@ struct ufs_inode_info { */ #ifdef CONFIG_UFS_DEBUG # define UFSD(f, a...) { \ - printk ("UFSD (%s, %d): %s:", \ + pr_debug("UFSD (%s, %d): %s:", \ __FILE__, __LINE__, __func__); \ - printk (f, ## a); \ + pr_debug(f, ## a); \ } #else # define UFSD(f, a...) /**/ |