]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 54385a240b34d0cac9f4fc910be8d3f4a2dc06dd..4ba701526f973505d895bf880b0b0f5d5d4f540d 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