[bakeathon] server compare logic

to determine if the server is the same don't rely on clientids returned
by the server
This commit is contained in:
Olga Kornievskaia 2011-10-24 11:54:19 -04:00
parent ac9e621c44
commit 7485d53f64

View file

@ -190,9 +190,6 @@ static int cl_exid_compare(
/* match any of the desired roles */ /* match any of the desired roles */
if ((info->roles & client->roles) == 0) if ((info->roles & client->roles) == 0)
goto out; goto out;
/* match clientid */
if (info->exchangeid->clientid != client->clnt_id)
goto out;
/* match server_owner.major_id */ /* match server_owner.major_id */
if (strncmp(info->exchangeid->server_owner.so_major_id, if (strncmp(info->exchangeid->server_owner.so_major_id,
client->server->owner, NFS4_OPAQUE_LIMIT) != 0) client->server->owner, NFS4_OPAQUE_LIMIT) != 0)