]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-md5-inum-round-down-20070223
authorDerrick Brashear <shadow@dementia.org>
Fri, 23 Feb 2007 00:44:08 +0000 (00:44 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 23 Feb 2007 00:44:08 +0000 (00:44 +0000)
make our computed md5-style inode numbers be actually 32 bit

(cherry picked from commit 844f045692d7863e096cb97710151c31a841874d)

src/afs/afs_util.c

index 4f572e28074189ff7a290f0e4398fa0cb281c84a..ee5539a0c83cbe347f31ee5b0c052ac87840a203 100644 (file)
@@ -662,8 +662,8 @@ afs_int32 afs_calc_inum (afs_int32 volume, afs_int32 vnode)
        ino ^= (ino ^ vnode) & 1;
     } else {
        ino = (volume << 16) + vnode;
-       ino &= 0x7fffffff;      /* Assumes 32 bit ino_t ..... */
     }
+    ino &= 0x7fffffff;      /* Assumes 32 bit ino_t ..... */
     return ino;
 }