Skip to contentSkip to conversation

exportfs: use dprintk() for debug message

PATCH New Niels de Vos 1 participant 1 message Oct 23, 2013 Filesystems exportfs

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exportfs: use dprintk() for debug message

All of the debug messages in reconnect_path() use dprintk(), except for one. Users have no idea what "reconnect_path: npd != pd" means, or how to act on it. This message without the other dprintk() output is near to useless anyway, so use dprintk() instead of printk() for it.

---
 fs/exportfs/expfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/exportfs/expfs.c +1 -1
index a235f00..49ce614 100644
@@ -189,7 +189,7 @@ reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
 			if (npd == pd)
 				noprogress = 0;
 			else
-				printk("%s: npd != pd\n", __func__);
+				dprintk("%s: npd != pd\n", __func__);
 			dput(npd);
 			dput(ppd);
 			if (IS_ROOT(pd)) {
Signature · 1 line
1.7.1