summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2013-06-08 02:09:35 +0000
committerdholland <dholland@NetBSD.org>2013-06-08 02:09:35 +0000
commitad6712b57396ecbc48818c2bfca6f0ecebe72e0e (patch)
treeaf459f8d66a7ecf683fda3e65e5a4b9e555f5d0d /libexec
parent32357170b5f0c0490cc9520a15fb80f6947a1227 (diff)
Move the dinode (on-disk inode) structures to lfs.h, since they are
and will be obviously required by userland tools that need to read the on-disk structures. Also, DINODE{1,2}_SIZE -> LFS_DINODE{1,2}_SIZE.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/lfs_cleanerd/lfs_cleanerd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/lfs_cleanerd/lfs_cleanerd.c b/libexec/lfs_cleanerd/lfs_cleanerd.c
index bc4ff326bb1..07281aad371 100644
--- a/libexec/lfs_cleanerd/lfs_cleanerd.c
+++ b/libexec/lfs_cleanerd/lfs_cleanerd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_cleanerd.c,v 1.33 2013/06/06 00:53:35 dholland Exp $ */
+/* $NetBSD: lfs_cleanerd.c,v 1.34 2013/06/08 02:09:35 dholland Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -485,7 +485,7 @@ parse_pseg(struct clfs *fs, daddr_t daddr, BLOCK_INFO **bipp, int *bic)
bip[*bic - 1].bi_segcreate = ssp->ss_create;
bip[*bic - 1].bi_version = dip[i].di_gen;
bip[*bic - 1].bi_bp = &(dip[i]);
- bip[*bic - 1].bi_size = DINODE1_SIZE;
+ bip[*bic - 1].bi_size = LFS_DINODE1_SIZE;
}
inoc += i;
daddr += btofsb(fs, fs->lfs_ibsize);