projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'pm-cpufreq-sched' into pm-cpufreq
[cascardo/linux.git]
/
fs
/
nfs
/
nfs4client.c
diff --git
a/fs/nfs/nfs4client.c
b/fs/nfs/nfs4client.c
index
8d7d08d
..
cd3b7cf
100644
(file)
--- a/
fs/nfs/nfs4client.c
+++ b/
fs/nfs/nfs4client.c
@@
-817,6
+817,11
@@
static int nfs4_set_client(struct nfs_server *server,
goto error;
}
+ if (server->nfs_client == clp) {
+ error = -ELOOP;
+ goto error;
+ }
+
/*
* Query for the lease time on clientid setup or renewal
*