summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs/symlink.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-04-09 01:04:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-09 01:48:52 +0200
commitd3b73ca1be3236fc33f896af7e2ba637a677d5c9 (patch)
tree40cb8fd92cf4c76867a2d01477bd5c2f2e7f42ba /fs/ncpfs/symlink.c
parentncpfs: Add pr_fmt and convert printks to pr_<level> (diff)
downloadlinux-d3b73ca1be3236fc33f896af7e2ba637a677d5c9.tar.xz
linux-d3b73ca1be3236fc33f896af7e2ba637a677d5c9.zip
ncpfs: convert DPRINTK/DDPRINTK to ncp_dbg
Use a more current logging style and enable use of dynamic debugging. Remove embedded function names, dynamic debug can add this instead. Signed-off-by: Joe Perches <joe@perches.com> Cc: Petr Vandrovec <petr@vandrovec.name> 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/ncpfs/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ncpfs/symlink.c b/fs/ncpfs/symlink.c
index 52439ddc8de0..1a63bfdb4a65 100644
--- a/fs/ncpfs/symlink.c
+++ b/fs/ncpfs/symlink.c
@@ -112,7 +112,7 @@ int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) {
__le32 attr;
unsigned int hdr;
- DPRINTK("ncp_symlink(dir=%p,dentry=%p,symname=%s)\n",dir,dentry,symname);
+ ncp_dbg(1, "dir=%p, dentry=%p, symname=%s\n", dir, dentry, symname);
if (ncp_is_nfs_extras(NCP_SERVER(dir), NCP_FINFO(dir)->volNumber))
kludge = 0;