[Ocfs2-tools-commits] zab commits r537 - trunk/fsck.ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Jan 5 14:58:33 CST 2005
Author: zab
Date: 2005-01-05 14:58:31 -0600 (Wed, 05 Jan 2005)
New Revision: 537
Modified:
trunk/fsck.ocfs2/pass1.c
Log:
- durr, fix typo so gcc296 can build
Modified: trunk/fsck.ocfs2/pass1.c
===================================================================
--- trunk/fsck.ocfs2/pass1.c 2005-01-05 19:29:03 UTC (rev 536)
+++ trunk/fsck.ocfs2/pass1.c 2005-01-05 20:58:31 UTC (rev 537)
@@ -765,13 +765,14 @@
static void write_local_allocs(o2fsck_state *ost)
{
uint16_t node, max_nodes;
- max_nodes = OCFS2_RAW_SB(ost->ost_fs->fs_super)->s_max_nodes;
char *buf = NULL;
errcode_t ret;
uint64_t blkno, start, end;
ocfs2_dinode *di;
ocfs2_local_alloc *la = &di->id2.i_lab;
+ max_nodes = OCFS2_RAW_SB(ost->ost_fs->fs_super)->s_max_nodes;
+
ret = ocfs2_malloc_block(ost->ost_fs->fs_io, &buf);
if (ret) {
com_err(whoami, ret, "while allocating an inode buffer to "
More information about the Ocfs2-tools-commits
mailing list