Ignore:
Timestamp:
Jan 19, 2007, 5:47:55 PM (18 years ago)
Author:
jbarnold
Message:
oops happened again; removed more new code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/common/patches/openafs-scripts.patch

    r85 r86  
    5959  * Pags are implemented as follows: the set of groups whose long
    6060  * representation is '41XXXXXX' hex are used to represent the pags.
    61 @@ -77,9 +77,9 @@
    62      AFS_STATCNT(genpag);
    63  #ifdef AFS_LINUX20_ENV
    64      /* 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_ENV
    77 -    return (pag_epoch + pagCounter++);
    78 +    return (pag_epoch + pagCounter);
    79  #else
    80 -    return (pagCounter++);
    81 +    return (pagCounter);
    82  #endif /* AFS_LINUX20_ENV */
    83  }
    84  
    8561@@ -426,6 +430,15 @@
    8662        av->uid = acred->cr_ruid;       /* default when no pag is set */
Note: See TracChangeset for help on using the changeset viewer.