Windows: Perform rename to self check earlier
authorJeffrey Altman <jaltman@your-file-system.com>
Fri, 10 Feb 2012 13:56:12 +0000 (08:56 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 10 Feb 2012 18:25:33 +0000 (10:25 -0800)
commit42aba4391ab3fadca2103e1df1f47445e40c436e
tree59168b86667d19f9e4479f5c29627c0cce1dba3f
parentd6f977830c164ee079c68101595c28ff1847f88f
Windows: Perform rename to self check earlier

In AFSSetRenameInfo(), the rename to itself check was performed
after the name collision check.  Move the check earlier in the
routine to ensure that we catch the no-op before any real work
is done.

Change-Id: I580dd9958a259d4a1819c6bd882dae8067d2853d
Reviewed-on: http://gerrit.openafs.org/6692
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp