Don't make tvc a register, since we want to dereference it later on.
authorNickolai Zeldovich <kolya@mit.edu>
Tue, 2 Apr 2002 18:35:03 +0000 (18:35 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Tue, 2 Apr 2002 18:35:03 +0000 (18:35 +0000)
Pointed out by nneul@umr.edu.

src/afs/VNOPS/afs_vnop_write.c

index f5b208e..53a0d40 100644 (file)
@@ -721,7 +721,7 @@ struct vrequest *areq; {
 afs_closex(afd)
     register struct file *afd; {
     struct vrequest treq;
-    register struct vcache *tvc;
+    struct vcache *tvc;
     afs_int32 flags;
     int closeDone;
     afs_int32 code = 0;