]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-largefile-support-20060625
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 25 Jun 2006 22:45:11 +0000 (22:45 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 25 Jun 2006 22:45:11 +0000 (22:45 +0000)
don't clear the no64bit when there is no server

(cherry picked from commit 0eb04961602949683be26cbe002677b5ee537ab6)

src/WINNT/afsd/cm_callback.c

index 1cf64948a20eab24fc7606b9ae2d1dc69cf61a70..0d7f4f4da45b40ddc7166e06de9bb54f4eddb81f 100644 (file)
@@ -475,12 +475,13 @@ SRXAFSCB_InitCallBackState(struct rx_call *callp)
        
        lock_ReleaseWrite(&cm_scacheLock);
        
-       /* reset the No 64-bit flag on the server */
-       cm_SetServerNo64Bit(tsp, 0);
+       if (tsp) {
+           /* reset the No 64-bit flag on the server */
+           cm_SetServerNo64Bit(tsp, 0);
 
-       /* we're done with the server structure */
-       if (tsp) 
+           /* we're done with the server structure */
             cm_PutServer(tsp);
+       }
     }
     MUTEX_EXIT(&callp->lock);
     return 0;