DEVEL15-linux-2625-20080312

LICENSE IPL10

add missing bits


(cherry picked from commit 5378bf47ef)
This commit is contained in:
Marc Dionne 2008-03-13 02:25:37 +00:00 committed by Derrick Brashear
parent 8a9bb0f08b
commit 6d2e37db8a

View File

@ -41,6 +41,11 @@ osi_UFSOpen(afs_int32 ainode)
struct inode *tip = NULL; struct inode *tip = NULL;
struct dentry *dp = NULL; struct dentry *dp = NULL;
struct file *filp = NULL; struct file *filp = NULL;
#if defined(AFS_CACHE_VNODE_PATH)
int code;
int dummy;
char fname[1024];
#endif
AFS_STATCNT(osi_UFSOpen); AFS_STATCNT(osi_UFSOpen);
if (cacheDiskType != AFS_FCACHE_TYPE_UFS) { if (cacheDiskType != AFS_FCACHE_TYPE_UFS) {
osi_Panic("UFSOpen called for non-UFS cache\n"); osi_Panic("UFSOpen called for non-UFS cache\n");