summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4getroot.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2017-04-07 14:15:19 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2017-04-20 13:39:35 -0400
commit539fd1d1f43414bd7a886147c475fa09a3cc528a (patch)
tree8d492b562938de86dbc0b5236796355a06744316 /fs/nfs/nfs4getroot.c
parent4fe6b366d9a2694970f26dcda7026390c5d0d7c7 (diff)
downloadlwn-539fd1d1f43414bd7a886147c475fa09a3cc528a.tar.gz
lwn-539fd1d1f43414bd7a886147c475fa09a3cc528a.zip
NFS: Clean up nfs4_get_rootfh()
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4getroot.c')
-rw-r--r--fs/nfs/nfs4getroot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/nfs4getroot.c b/fs/nfs/nfs4getroot.c
index 039b3eb6d834..ac8406018962 100644
--- a/fs/nfs/nfs4getroot.c
+++ b/fs/nfs/nfs4getroot.c
@@ -14,8 +14,6 @@ int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_p
struct nfs_fsinfo fsinfo;
int ret = -ENOMEM;
- dprintk("--> nfs4_get_rootfh()\n");
-
fsinfo.fattr = nfs_alloc_fattr();
if (fsinfo.fattr == NULL)
goto out;
@@ -38,6 +36,5 @@ int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_p
memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid));
out:
nfs_free_fattr(fsinfo.fattr);
- dprintk("<-- nfs4_get_rootfh() = %d\n", ret);
return ret;
}