summaryrefslogtreecommitdiff
path: root/bsdfsck/inode.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-26 16:35:02 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-26 16:35:02 +0000
commitded88bc550a5e8d19ea1e3f432c3fdbd7a3c93f1 (patch)
tree103dfcb5a72b60d881c2f9306109baa5ba132d6c /bsdfsck/inode.c
parentb3763a1e5f13eebeab8051e76054b17a5a116b1b (diff)
Formerly inode.c.~3~
Diffstat (limited to 'bsdfsck/inode.c')
-rw-r--r--bsdfsck/inode.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/bsdfsck/inode.c b/bsdfsck/inode.c
index f159173f..8e1b646f 100644
--- a/bsdfsck/inode.c
+++ b/bsdfsck/inode.c
@@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)inode.c 8.4 (Berkeley) 4/18/94";*/
-static char *rcsid = "$Id: inode.c,v 1.2 1994/08/23 20:12:34 mib Exp $";
+static char *rcsid = "$Id: inode.c,v 1.3 1994/08/26 16:35:02 mib Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -100,6 +100,13 @@ ckinode(dp, idesc)
sizepb *= NINDIR(&sblock);
remsize -= sizepb;
}
+ /* GNU Hurd extension. */
+ if (dino.di_trans)
+ {
+ idesc->id_blkno = dino.di_trans;
+ idesc->id_numfrags = sblock.fs_frag;
+ return (*idesc->id_func)(idesc);
+ }
return (KEEPON);
}