Commit 92c8e22c authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] nfsd4: don't allow unconfirmed renew

Don't bother searching for unconfirmed clients when handling RENEW; a client is
pretty sick if it's trying to renew state it hasn't even finished acquiring
yet.
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarNeil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4ee83986
......@@ -1815,11 +1815,6 @@ nfsd4_renew(clientid_t *clid)
renew_client(clp);
goto out;
}
clp = find_unconfirmed_client(clid);
if (clp) {
renew_client(clp);
goto out;
}
/*
* Couldn't find an nfs4_client for this clientid.
* Presumably this is because the client took too long to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment