summaryrefslogtreecommitdiffstats
path: root/fs/ufs/ufs.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 23:21:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 00:57:21 +0200
commitd4beaabd307b4b7853ac97013ab0d6ee69429b04 (patch)
tree543040ba7e54c48981606bc618482c722a3769d9 /fs/ufs/ufs.h
parentfs/ufs/super.c: use va_format instead of buffer/vsnprintf (diff)
downloadlinux-d4beaabd307b4b7853ac97013ab0d6ee69429b04.tar.xz
linux-d4beaabd307b4b7853ac97013ab0d6ee69429b04.zip
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>
Diffstat (limited to '')
-rw-r--r--fs/ufs/ufs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ufs/ufs.h b/fs/ufs/ufs.h
index cbe1e9be9013..2a07396d5f9e 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...) /**/