diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-04-07 14:15:19 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-20 13:39:35 -0400 |
commit | 539fd1d1f43414bd7a886147c475fa09a3cc528a (patch) | |
tree | 8d492b562938de86dbc0b5236796355a06744316 | |
parent | 4fe6b366d9a2694970f26dcda7026390c5d0d7c7 (diff) |
NFS: Clean up nfs4_get_rootfh()
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
-rw-r--r-- | fs/nfs/nfs4getroot.c | 3 |
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 | |||
14 | struct nfs_fsinfo fsinfo; | 14 | struct nfs_fsinfo fsinfo; |
15 | int ret = -ENOMEM; | 15 | int ret = -ENOMEM; |
16 | 16 | ||
17 | dprintk("--> nfs4_get_rootfh()\n"); | ||
18 | |||
19 | fsinfo.fattr = nfs_alloc_fattr(); | 17 | fsinfo.fattr = nfs_alloc_fattr(); |
20 | if (fsinfo.fattr == NULL) | 18 | if (fsinfo.fattr == NULL) |
21 | goto out; | 19 | goto out; |
@@ -38,6 +36,5 @@ int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_p | |||
38 | memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); | 36 | memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); |
39 | out: | 37 | out: |
40 | nfs_free_fattr(fsinfo.fattr); | 38 | nfs_free_fattr(fsinfo.fattr); |
41 | dprintk("<-- nfs4_get_rootfh() = %d\n", ret); | ||
42 | return ret; | 39 | return ret; |
43 | } | 40 | } |