summaryrefslogtreecommitdiff
path: root/fs/qnx6/namei.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-09 01:23:07 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 02:57:26 +0400
commitfa5a7a41a601d952e53bfcfa6d50ca22b956ee3a (patch)
treed3ec881ee67e05a477fe3262b8a72dd0b20b6356 /fs/qnx6/namei.c
parente6c3261653a22f7481791e02fe19d11faac214fb (diff)
downloadlinux-fa5a7a41a601d952e53bfcfa6d50ca22b956ee3a.tar.xz
fs/qnx6: update debugging to current functions
Add DDEBUG in Makefile when CONFIG_QNX6FS_DEBUG is set. All QNX6DEBUG messages are replaced by pr_debug which means debugging will be emitted in debug level only and no more in error and info levels. debug uses now pr_fmt and __func__ QNX6DEBUG definition has been removed. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joe Perches <joe@perches.com> Cc: Kai Bankett <chaosman@ontika.net> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/qnx6/namei.c')
-rw-r--r--fs/qnx6/namei.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/qnx6/namei.c b/fs/qnx6/namei.c
index 0561326a94f5..6c1a323137dd 100644
--- a/fs/qnx6/namei.c
+++ b/fs/qnx6/namei.c
@@ -29,12 +29,12 @@ struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry,
foundinode = qnx6_iget(dir->i_sb, ino);
qnx6_put_page(page);
if (IS_ERR(foundinode)) {
- QNX6DEBUG((KERN_ERR "qnx6: lookup->iget -> "
- " error %ld\n", PTR_ERR(foundinode)));
+ pr_debug("lookup->iget -> error %ld\n",
+ PTR_ERR(foundinode));
return ERR_CAST(foundinode);
}
} else {
- QNX6DEBUG((KERN_INFO "qnx6_lookup: not found %s\n", name));
+ pr_debug("%s(): not found %s\n", __func__, name);
return NULL;
}
d_add(dentry, foundinode);