- Timestamp:
- Jan 19, 2007, 5:47:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/patches/openafs-scripts.patch
r85 r86 59 59 * Pags are implemented as follows: the set of groups whose long 60 60 * representation is '41XXXXXX' hex are used to represent the pags. 61 @@ -77,9 +77,9 @@62 AFS_STATCNT(genpag);63 #ifdef AFS_LINUX20_ENV64 /* Ensure unique PAG's (mod 200 days) when reloading the client. */65 - return (('A' << 24) + ((pag_epoch + pagCounter++) & 0xffffff));66 + return (('A' << 24) + ((pag_epoch + pagCounter) & 0xffffff));67 #else /* AFS_LINUX20_ENV */68 - return (('A' << 24) + (pagCounter++ & 0xffffff));69 + return (('A' << 24) + (pagCounter & 0xffffff));70 #endif /* AFS_LINUX20_ENV */71 }72 73 @@ -105,9 +105,9 @@74 {75 AFS_STATCNT(genpag);76 #ifdef AFS_LINUX20_ENV77 - return (pag_epoch + pagCounter++);78 + return (pag_epoch + pagCounter);79 #else80 - return (pagCounter++);81 + return (pagCounter);82 #endif /* AFS_LINUX20_ENV */83 }84 85 61 @@ -426,6 +430,15 @@ 86 62 av->uid = acred->cr_ruid; /* default when no pag is set */
Note: See TracChangeset
for help on using the changeset viewer.