]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-vol-proto-do-not-break-dafs-20090326
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Thu, 26 Mar 2009 23:42:13 +0000 (23:42 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 26 Mar 2009 23:42:13 +0000 (23:42 +0000)
LICENSE IPL10
FIXES 12540

Reenable prototype of VolumeExternalName_r for dafs

(cherry picked from commit 4ced67ca980218e27aa4033f31a9d238590919d5)

src/vol/volume.c

index 4beb72a2f204fa41330ddd4d2c41c22cd3871c04..c28331eea250351dbd864714eec80d9bf2611abc 100644 (file)
@@ -202,7 +202,7 @@ static void LoadVolumeHeader(Error * ec, Volume * vp);
 static int VCheckOffline(register Volume * vp);
 static int VCheckDetach(register Volume * vp);
 static Volume * GetVolume(Error * ec, Error * client_ec, VolId volumeId, Volume * hint, int flags);
-#if 0
+#ifdef AFS_DEMAND_ATTACH_FS
 static int VolumeExternalName_r(VolumeId volumeId, char * name, size_t len);
 #endif