summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/pass1.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-16 11:27:47 +0000
committerphk <phk@FreeBSD.org>2002-09-16 11:27:47 +0000
commit3cb4eb13f7bedaafe99d1e43d4873ec05f3cff20 (patch)
tree6ba6afafd7fec6864cb451f92af74595f8f8b868 /sbin/fsck_ffs/pass1.c
parent1f1428877a06b5143fd9adda74ca00ca680d807a (diff)
downloadFreeBSD-src-3cb4eb13f7bedaafe99d1e43d4873ec05f3cff20.zip
FreeBSD-src-3cb4eb13f7bedaafe99d1e43d4873ec05f3cff20.tar.gz
Add a source file where EXTATTR checks will happen and hook it in even
if it doesn't do anything yet. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sbin/fsck_ffs/pass1.c')
-rw-r--r--sbin/fsck_ffs/pass1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c
index 38506a9..a66690c 100644
--- a/sbin/fsck_ffs/pass1.c
+++ b/sbin/fsck_ffs/pass1.c
@@ -331,6 +331,8 @@ checkinode(ino_t inumber, struct inodesc *idesc)
else
idesc->id_type = ADDR;
(void)ckinode(dp, idesc);
+ if (sblock.fs_magic == FS_UFS2_MAGIC)
+ eascan(idesc, &dp->dp2);
idesc->id_entryno *= btodb(sblock.fs_fsize);
if (DIP(dp, di_blocks) != idesc->id_entryno) {
pwarn("INCORRECT BLOCK COUNT I=%lu (%ju should be %ju)",
OpenPOWER on IntegriCloud