From: Derrick Brashear Date: Thu, 29 Jan 2009 16:05:16 +0000 (+0000) Subject: DEVEL15-discon-diskslot-linux-20090129 X-Git-Tag: openafs-devel-1_5_58~164 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=328fffda8b9dc06ce390d8be389e453e868a58fd;p=packages%2Fo%2Fopenafs.git DEVEL15-discon-diskslot-linux-20090129 LICENSE IPL10 build in the linux case on non-disconnected (cherry picked from commit 47e99e36fd40c55be7a5d947fb096d6f6f2c0ae4) --- diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index d417d6b85..c14a7aadd 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -783,6 +783,7 @@ restart: # endif afs_vcount++; +#ifdef AFS_DISCON_ENV /* If we create a new inode, we either give it a new slot number, * or if one's available, use a slot number from the slot free list */ @@ -796,6 +797,7 @@ restart: } else { tvc->diskSlot = afs_nextVcacheSlot++; } +#endif #else /* AFS_OSF_ENV || AFS_LINUX22_ENV */ /* pull out a free cache entry */