Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CI integration for KVMforNFV.
[kvmfornfv.git]
/
kernel
/
fs
/
nfs
/
nfs4getroot.c
diff --git
a/kernel/fs/nfs/nfs4getroot.c
b/kernel/fs/nfs/nfs4getroot.c
index
c0b3a16
..
039b3eb
100644
(file)
--- a/
kernel/fs/nfs/nfs4getroot.c
+++ b/
kernel/fs/nfs/nfs4getroot.c
@@
-35,13
+35,6
@@
int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_p
goto out;
}
goto out;
}
- if (fsinfo.fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) {
- printk(KERN_ERR "nfs4_get_rootfh:"
- " getroot obtained referral\n");
- ret = -EREMOTE;
- goto out;
- }
-
memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid));
out:
nfs_free_fattr(fsinfo.fattr);
memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid));
out:
nfs_free_fattr(fsinfo.fattr);