[PATCH] NFSD: remove redundant dprintk in exp_rootfh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux