From: Chen Hanxiao <chenhx.fnst@fujitsu.com>
To: Chuck Lever <chuck.lever@oracle.com>,
Jeff Layton <jlayton@kernel.org>, Neil Brown <neilb@suse.de>,
Olga Kornievskaia <kolga@netapp.com>,
Dai Ngo <Dai.Ngo@oracle.com>, Tom Talpey <tom@talpey.com>
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH] NFSD: remove redundant dprintk in exp_rootfh
Date: Mon, 8 Apr 2024 23:06:36 +0800 [thread overview]
Message-ID: <20240408150636.417-1-chenhx.fnst@fujitsu.com> (raw)
trace_nfsd_ctl_filehandle in write_filehandle has
some similar infos.
write_filehandle is the only caller of exp_rootfh,
so just remove the dprintk parts.
Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com>
---
fs/nfsd/export.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 7b641095a665..e7acd820758d 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1027,9 +1027,6 @@ exp_rootfh(struct net *net, struct auth_domain *clp, char *name,
}
inode = d_inode(path.dentry);
- dprintk("nfsd: exp_rootfh(%s [%p] %s:%s/%ld)\n",
- name, path.dentry, clp->name,
- inode->i_sb->s_id, inode->i_ino);
exp = exp_parent(cd, clp, &path);
if (IS_ERR(exp)) {
err = PTR_ERR(exp);
--
2.39.1
next reply other threads:[~2024-04-08 15:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-08 15:06 Chen Hanxiao [this message]
2024-04-08 15:51 ` [PATCH] NFSD: remove redundant dprintk in exp_rootfh Jeff Layton
2024-04-08 23:21 ` NeilBrown
2024-04-09 0:43 ` Chuck Lever
2024-04-09 1:12 ` NeilBrown
2024-04-09 2:08 ` Chuck Lever
2024-04-09 3:06 ` NeilBrown
2024-04-09 14:09 ` Chuck Lever
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240408150636.417-1-chenhx.fnst@fujitsu.com \
--to=chenhx.fnst@fujitsu.com \
--cc=Dai.Ngo@oracle.com \
--cc=chuck.lever@oracle.com \
--cc=jlayton@kernel.org \
--cc=kolga@netapp.com \
--cc=linux-nfs@vger.kernel.org \
--cc=neilb@suse.de \
--cc=tom@talpey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).