mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 21:47:45 +00:00
STABLE14-viced-capability-writelock-20060801
add write loc king capability (cherry picked from commit 80e88d6a80fc3fc0d15650f20ea7fc3fece1a1e4)
This commit is contained in:
parent
434404a50f
commit
67155bbb6f
@ -6187,7 +6187,7 @@ SRXAFS_GetCapabilities(struct rx_call * acall, Capabilities * capabilities)
|
||||
|
||||
dataBytes = 1 * sizeof(afs_int32);
|
||||
dataBuffP = (afs_int32 *) malloc(dataBytes);
|
||||
dataBuffP[0] = CAPABILITY_ERRORTRANS;
|
||||
dataBuffP[0] = CAPABILITY_ERRORTRANS | CAPABILITY_WRITELOCKACL;
|
||||
capabilities->Capabilities_len = dataBytes / sizeof(afs_int32);
|
||||
capabilities->Capabilities_val = dataBuffP;
|
||||
|
||||
|
@ -4,5 +4,5 @@ void init_sys_error_to_et(void);
|
||||
|
||||
/* First 32 bits of capabilities */
|
||||
#define CAPABILITY_ERRORTRANS (1<<0)
|
||||
|
||||
#define CAPABILITY_WRITELOCKACL (1<<2)
|
||||
#define CAPABILITY_BITS 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user