summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/ea.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2013-02-24 06:44:29 +0000
committermckusick <mckusick@FreeBSD.org>2013-02-24 06:44:29 +0000
commitf51be3d42991b018fce27dc15fe8b9cfc9d4cfd3 (patch)
treea155aaefa3f14e813888f202776df11239e2e87a /sbin/fsck_ffs/ea.c
parent61f5e2d8e639c7305ace277d84812e884a545366 (diff)
downloadFreeBSD-src-f51be3d42991b018fce27dc15fe8b9cfc9d4cfd3.zip
FreeBSD-src-f51be3d42991b018fce27dc15fe8b9cfc9d4cfd3.tar.gz
When running with the -d option, instrument fsck_ffs to track the number,
data type, and running time of its I/O operations. No functional changes.
Diffstat (limited to 'sbin/fsck_ffs/ea.c')
-rw-r--r--sbin/fsck_ffs/ea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/ea.c b/sbin/fsck_ffs/ea.c
index c1cf59d..3517011 100644
--- a/sbin/fsck_ffs/ea.c
+++ b/sbin/fsck_ffs/ea.c
@@ -73,7 +73,7 @@ eascan(struct inodesc *idesc, struct ufs2_dinode *dp)
else
blksiz = sblock.fs_bsize;
printf("blksiz = %ju\n", (intmax_t)blksiz);
- bp = getdatablk(dp->di_extb[0], blksiz);
+ bp = getdatablk(dp->di_extb[0], blksiz, BT_EXTATTR);
cp = (u_char *)bp->b_un.b_buf;
for (n = 0; n < blksiz; n++) {
printf("%02x", cp[n]);
OpenPOWER on IntegriCloud