Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2013 19:32:43 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r247234 - head/sbin/fsdb
Message-ID:  <201302241932.r1OJWhdF058658@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Sun Feb 24 19:32:43 2013
New Revision: 247234
URL: http://svnweb.freebsd.org/changeset/base/247234

Log:
  Catch up with internal API changes for initbarea() and getdatablk()
  of fsck_ffs introduced with r247212.
  
  Submitted by:	David Wolfskill <david@catwhisker.org>

Modified:
  head/sbin/fsdb/fsdbutil.c

Modified: head/sbin/fsdb/fsdbutil.c
==============================================================================
--- head/sbin/fsdb/fsdbutil.c	Sun Feb 24 19:10:16 2013	(r247233)
+++ head/sbin/fsdb/fsdbutil.c	Sun Feb 24 19:32:43 2013	(r247234)
@@ -239,11 +239,11 @@ printindir(ufs2_daddr_t blk, int level, 
 	/* for the final indirect level, don't use the cache */
 	bp = &buf;
 	bp->b_un.b_buf = bufp;
-	initbarea(bp);
+	initbarea(bp, BT_UNKNOWN);
 
 	getblk(bp, blk, sblock.fs_bsize);
     } else
-	bp = getdatablk(blk, sblock.fs_bsize);
+	bp = getdatablk(blk, sblock.fs_bsize, BT_UNKNOWN);
 
     cpl = charsperline();
     for (i = charssofar = 0; i < NINDIR(&sblock); i++) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302241932.r1OJWhdF058658>