From: J. Bruce Fields Date: Tue, 20 Nov 2007 20:39:07 +0000 (-0500) Subject: nfsd4: kill unnecessary same_name() in setclientid_confirm X-Git-Tag: v2.6.25-rc1~1072^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f394baad139f8a67a40b4246d53d3b818af2eb88;p=pandora-kernel.git nfsd4: kill unnecessary same_name() in setclientid_confirm If conf and unconf are both found in the lookup by cl_clientid, then they share the same cl_clientid. We always create a unique new cl_clientid field when creating a new client--the only exception is the "probable callback update" case in setclientid, where we copy the old cl_clientid from another clientid with the same name. Therefore two clients with the same cl_client field also always share the same cl_name field, and a couple of the checks here are redundant. Thanks to Simon Holm Thøgersen for a compile fix. Signed-off-by: J. Bruce Fields Cc: Simon Holm Thøgersen --- Reading git-diff-tree failed