From: Derrick Brashear Date: Thu, 19 Sep 2002 23:33:43 +0000 (+0000) Subject: STABLE12-linux-correct-fragsize-to-be-as-expected-20020919 X-Git-Tag: openafs-stable-1_2_7~5 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9c68cb76807ccba4a35e5117e2c61afc5b07de7b;p=packages%2Fo%2Fopenafs.git STABLE12-linux-correct-fragsize-to-be-as-expected-20020919 consider it a partial pullup of client-64bit-file-size-support-20011031 in order for the bit operations we do in afs_AdjustSize to work, this must be (what it is) minus 1 --- diff --git a/src/afs/LINUX/osi_misc.c b/src/afs/LINUX/osi_misc.c index c123b7d0c..dfa2d63ee 100644 --- a/src/afs/LINUX/osi_misc.c +++ b/src/afs/LINUX/osi_misc.c @@ -91,7 +91,7 @@ int osi_InitCacheInfo(char *aname) cacheInode = dp->d_inode->i_ino; cacheDev.dev = dp->d_inode->i_dev; - afs_fsfragsize = dp->d_inode->i_sb->s_blocksize; + afs_fsfragsize = dp->d_inode->i_sb->s_blocksize - 1; afs_cacheSBp = dp->d_inode->i_sb; dput(dp);