[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1382515448-22202-1-git-send-email-ndevos@redhat.com>
Date: Wed, 23 Oct 2013 10:04:08 +0200
From: Niels de Vos <ndevos@...hat.com>
To: trivial@...nel.org, linux-kernel@...r.kernel.org
Cc: Al Viro <viro@...iv.linux.org.uk>, Niels de Vos <ndevos@...hat.com>
Subject: [TRIVIAL PATCH] 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 <ndevos@...hat.com>
---
fs/exportfs/expfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c
index a235f00..49ce614 100644
--- a/fs/exportfs/expfs.c
+++ b/fs/exportfs/expfs.c
@@ -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)) {
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists