STABLE14-viced-capability-writelock-20060801

add write loc king capability


(cherry picked from commit 80e88d6a80fc3fc0d15650f20ea7fc3fece1a1e4)
This commit is contained in:
Jeffrey Altman 2006-08-01 23:33:47 +00:00 committed by Derrick Brashear
parent 434404a50f
commit 67155bbb6f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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