projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fe6b36
)
NFS: Clean up nfs4_get_rootfh()
author
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Fri, 7 Apr 2017 18:15:19 +0000
(14:15 -0400)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 17:39:35 +0000
(13:39 -0400)
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4getroot.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4getroot.c
b/fs/nfs/nfs4getroot.c
index
039b3eb
..
ac84060
100644
(file)
--- 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;
}