svn commit: r247234 - head/sbin/fsdb

Sergey Kandaurov pluknet at FreeBSD.org
Sun Feb 24 19:32:44 UTC 2013


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 at 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++) {


More information about the svn-src-head mailing list