From: Jeffrey Altman Date: Tue, 1 Aug 2006 23:29:15 +0000 (+0000) Subject: viced-capability-writelock-20060801 X-Git-Tag: BP-openafs-windows-kdfs-ifs~1156 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=80e88d6a80fc3fc0d15650f20ea7fc3fece1a1e4;p=packages%2Fo%2Fopenafs.git viced-capability-writelock-20060801 add write loc king capability --- diff --git a/src/fsint/common.xg b/src/fsint/common.xg index 42597f6c7..3f057472e 100644 --- a/src/fsint/common.xg +++ b/src/fsint/common.xg @@ -179,6 +179,7 @@ typedef afs_int32 Capabilities; /* Viced Capability Flags */ const VICED_CAPABILITY_ERRORTRANS = 0x0001; const VICED_CAPABILITY_64BITFILES = 0x0002; +const VICED_CAPABILITY_WRITELOCKACL = 0x0004; /* Cache Manager Capability Flags */ const CLIENT_CAPABILITY_ERRORTRANS = 0x0001; diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index a3f17eb92..eef1b2047 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -6029,7 +6029,7 @@ SRXAFS_GetCapabilities(struct rx_call * acall, Capabilities * capabilities) dataBytes = 1 * sizeof(afs_int32); dataBuffP = (afs_int32 *) malloc(dataBytes); - dataBuffP[0] = VICED_CAPABILITY_ERRORTRANS; + dataBuffP[0] = VICED_CAPABILITY_ERRORTRANS | VICED_CAPABILITY_WRITELOCKACL; #if defined(AFS_64BIT_ENV) && defined(AFS_LARGEFILE_ENV) dataBuffP[0] |= VICED_CAPABILITY_64BITFILES; #endif