[Ocfs2-commits] mfasheh commits r1652 - branches/dlm-glue/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Nov 16 13:27:08 CST 2004
Author: mfasheh
Date: 2004-11-16 13:27:06 -0600 (Tue, 16 Nov 2004)
New Revision: 1652
Modified:
branches/dlm-glue/src/super.c
Log:
* di->id2.i_chain.cl_cpg is 16 bits, not 32.
Modified: branches/dlm-glue/src/super.c
===================================================================
--- branches/dlm-glue/src/super.c 2004-11-16 19:26:20 UTC (rev 1651)
+++ branches/dlm-glue/src/super.c 2004-11-16 19:27:06 UTC (rev 1652)
@@ -1230,7 +1230,7 @@
}
di = (ocfs2_dinode *) bitmap_bh->b_data;
- osb->bitmap_cpg = le32_to_cpu(di->id2.i_chain.cl_cpg);
+ osb->bitmap_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg);
osb->num_clusters = le32_to_cpu(di->id1.bitmap1.i_total);
brelse(bitmap_bh);
printk("cluster bitmap inode: %llu, clusters per group: %u\n",
More information about the Ocfs2-commits
mailing list