exportfs: use dprintk() for debug message
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.
Signed-off-by Niels de Vos <[email protected]>
--- fs/exportfs/expfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/exportfs/expfs.c +1 -1
@@ -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