DEVEL15-solaris-vnode-path-cache-cleanup-20090317
authorDerrick Brashear <shadow@dementia.org>
Tue, 17 Mar 2009 15:10:42 +0000 (15:10 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 17 Mar 2009 15:10:42 +0000 (15:10 +0000)
LICENSE IPL10

declare needed variables everywhere

(cherry picked from commit b7372c3e1473ffcd4ab13451d3861103b51df3af)

src/afs/SOLARIS/osi_file.c

index 54385a2..4ba7015 100644 (file)
@@ -182,9 +182,9 @@ osi_UfsOpen(afs_int32 ainode)
 #endif
     register struct osi_file *afile = NULL;
     afs_int32 code = 0;
-#ifdef AFS_CACHE_VNODE_PATH
     int dummy;
     char fname[1024];
+#ifdef AFS_CACHE_VNODE_PATH
     char namebuf[1024];
     struct pathname lookpn;
 #endif