From 80e88d6a80fc3fc0d15650f20ea7fc3fece1a1e4 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 1 Aug 2006 23:29:15 +0000 Subject: [PATCH] viced-capability-writelock-20060801 add write loc king capability --- src/fsint/common.xg | 1 + src/viced/afsfileprocs.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5